Reply
 
Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 17.11.2004, 15:51
saininja
Gast
 
Posts: n/a
Großes Problem mit dem Style
wenn ich den Style importiere funzt alles bestens

baue ich jetzt einen Hack ein verschiebt er die Ränder bzw läßt er die weg ! siehe Beispiel


gibts da ne Lösung !



THX
Attached Images
File Type: jpg 1.jpg (83.2 KB, 16 views)
Reply With Quote
  #2 (permalink)  
Old 17.11.2004, 16:17
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 33
Posts: 16,877
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Ich hab dein Beitrag mal von diesem Thema geteilt "hat ja nun wirklich dort nichts verloren" und ins richtige Forum verschoben.

Ohne genaue Details können wir dir auch nicht helfen.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #3 (permalink)  
Old 17.11.2004, 18:14
saininja
Gast
 
Posts: n/a
ok also ich habe den STyle eingebaut, läuft alles prima,

jetzt will ich was einbauen z.b eine Uhr


dann gehe ich in style in das tpl Forumhome und baue folgender Code unter

$navbar ein.

Code:
<!-- UHR -->



<center>    <b>

<script language="JavaScript1.2">
function setcountdown(theyear,themonth,theday) {
	yr=theyear;mo=themonth;da=theday
}

setcountdown(2004,12,01)

var occasion="zum Monatsende !"
var message_on_occasion="<b>ALLEN USERN VON $master_board_name AUF EIN NEUES !</b>"
var countdownwidth='510px'
var countdownheight='22px'
var countdownbgcolor=''
var opentags=''
var closetags=''
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
var crosscount=''

function start_countdown(){
if (document.layers)
document.countdownnsmain.visibility="show"
else if (document.all||document.getElementById)
crosscount=document.getElementById&&!document.all?document.getElementById("countdownie") : countdownie
countdown()
}

if (document.all||document.getElementById)
document.write('<span id="countdownie" style="width:'+countdownwidth+'; background-color:'+countdownbgcolor+'"></span>')

window.onload=start_countdown


function countdown(){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todayh=today.getHours()
var todaymin=today.getMinutes()
var todaysec=today.getSeconds()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
futurestring=montharray[mo-1]+" "+da+", "+yr
dd=Date.parse(futurestring)-Date.parse(todaystring)
dday=Math.floor(dd/(60*60*1000*24)*1)
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1)
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1)
//if on day of occasion
if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=1&&todayd==da){
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+message_on_occasion+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+message_on_occasion+closetags
return
}
//if passed day of occasion
else if (dday<=-1){
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+"Occasion already passed! "+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+"Occasion already passed! "+closetags
return
}
//else, if not yet
else{
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+dday+ " days, "+dhour+" hours, "+dmin+" minutes, and "+dsec+" seconds left until "+occasion+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+dday+ " Tage, "+dhour+" Stunden, "+dmin+" Minuten und "+dsec+" Sekunden bis "+occasion+closetags
}
setTimeout("countdown()",1000)
}
</script>

<ilayer id="countdownnsmain" width=&{countdownwidth}; height=&{countdownheight}; bgColor=&{countdownbgcolor}; visibility=hide><layer id="countdownnssub" width=&{countdownwidth}; height=&{countdownheight}; left=0 top=0></layer></ilayer>

</center>     </b>


</table>
<br>

<!-- UHR -->

dann schneidet er einfach rechts die Balken ab und unten auch die aüßeren Balken, sieht mann ja auf dem screenshot vom ersten Thread !
Reply With Quote
  #4 (permalink)  
Old 17.11.2004, 18:25
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 33
Posts: 16,877
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Versuch mal dies:
Code:
<!-- UHR -->
<center>    <b>
<script language="JavaScript1.2">
function setcountdown(theyear,themonth,theday) {
yr=theyear;mo=themonth;da=theday
}
setcountdown(2004,12,01)
var occasion="zum Monatsende !"
var message_on_occasion="<b>ALLEN USERN VON $master_board_name AUF EIN NEUES !</b>"
var countdownwidth='510px'
var countdownheight='22px'
var countdownbgcolor=''
var opentags=''
var closetags=''
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
var crosscount=''
function start_countdown(){
if (document.layers)
document.countdownnsmain.visibility="show"
else if (document.all||document.getElementById)
crosscount=document.getElementById&&!document.all?document.getElementById("countdownie") : countdownie
countdown()
}
if (document.all||document.getElementById)
document.write('<span id="countdownie" style="width:'+countdownwidth+'; background-color:'+countdownbgcolor+'"></span>')
window.onload=start_countdown
function countdown(){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todayh=today.getHours()
var todaymin=today.getMinutes()
var todaysec=today.getSeconds()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
futurestring=montharray[mo-1]+" "+da+", "+yr
dd=Date.parse(futurestring)-Date.parse(todaystring)
dday=Math.floor(dd/(60*60*1000*24)*1)
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000)  )/(60*1000)*1)
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000  ))%(60*1000))/1000*1)
//if on day of occasion
if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=1&&todayd==da){
if (document.layers){
document.countdownnsmain.document.countdownnssub.d  ocument.write(opentags+message_on_occasion+closeta  gs)
document.countdownnsmain.document.countdownnssub.d  ocument.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+message_on_occasion+  closetags
return
}
//if passed day of occasion
else if (dday<=-1){
if (document.layers){
document.countdownnsmain.document.countdownnssub.d  ocument.write(opentags+"Occasion already passed! "+closetags)
document.countdownnsmain.document.countdownnssub.d  ocument.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+"Occasion already passed! "+closetags
return
}
//else, if not yet
else{
if (document.layers){
document.countdownnsmain.document.countdownnssub.d  ocument.write(opentags+dday+ " days, "+dhour+" hours, "+dmin+" minutes, and "+dsec+" seconds left until "+occasion+closetags)
document.countdownnsmain.document.countdownnssub.d  ocument.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+dday+ " Tage, "+dhour+" Stunden, "+dmin+" Minuten und "+dsec+" Sekunden bis "+occasion+closetags
}
setTimeout("countdown()",1000)
}
</script>
<ilayer id="countdownnsmain" width=&{countdownwidth}; height=&{countdownheight}; bgColor=&{countdownbgcolor}; visibility=hide><layer id="countdownnssub" width=&{countdownwidth}; height=&{countdownheight}; left=0 top=0></layer></ilayer>
</b></center>   
<!-- UHR -->
Da war am Ende ein <table> Tag der garnicht offen war.
__________________
Meine kleinen Engel ... Die Rabauken ...

Last edited by Christian : 17.11.2004 at 19:59.
Reply With Quote
  #5 (permalink)  
Old 17.11.2004, 19:14
saininja
Gast
 
Posts: n/a
jetzt wird nach eingabe deines codes die Uhr nicht mehr angezeigt und unten wird alles gecentert


siehe Anhang !


wie gesagt wenn ich den Code von Dir übernehme wird die Urh nicht mehr angezeigt ! bei meinem Code zeigt die Uhr an !
Attached Images
File Type: jpg 2.jpg (65.5 KB, 11 views)
Reply With Quote
  #6 (permalink)  
Old 17.11.2004, 19:37
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 33
Posts: 16,877
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Quote:
Originally Posted by saininja
jetzt wird nach eingabe deines codes die Uhr nicht mehr angezeigt und unten wird alles gecentert, siehe Anhang !
wie gesagt wenn ich den Code von Dir übernehme wird die Urh nicht mehr angezeigt ! bei meinem Code zeigt die Uhr an !

Kann ich nicht nachvollziehen. Am besten ist, wenn du dich mit deinem Problem an den Entwickler des Hacks wendest.
Gruss
Christian
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #7 (permalink)  
Old 17.11.2004, 19:52
saininja
Gast
 
Posts: n/a
ok habs jetzt selber gefixt

lag an der table am schluß mit dem code gehts !


trotzdem Danke guter und schneller Support !


Code:
<!-- UHR -->


<center>    <b>

<script language="JavaScript1.2">
function setcountdown(theyear,themonth,theday) {
	yr=theyear;mo=themonth;da=theday
}

setcountdown(2004,12,01)

var occasion="zum Monatsende !"
var message_on_occasion="<b>ALLEN USERN VON $master_board_name AUF EIN NEUES !</b>"
var countdownwidth='510px'
var countdownheight='22px'
var countdownbgcolor=''
var opentags=''
var closetags=''
var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec")
var crosscount=''

function start_countdown(){
if (document.layers)
document.countdownnsmain.visibility="show"
else if (document.all||document.getElementById)
crosscount=document.getElementById&&!document.all?document.getElementById("countdownie") : countdownie
countdown()
}

if (document.all||document.getElementById)
document.write('<span id="countdownie" style="width:'+countdownwidth+'; background-color:'+countdownbgcolor+'"></span>')

window.onload=start_countdown


function countdown(){
var today=new Date()
var todayy=today.getYear()
if (todayy < 1000)
todayy+=1900
var todaym=today.getMonth()
var todayd=today.getDate()
var todayh=today.getHours()
var todaymin=today.getMinutes()
var todaysec=today.getSeconds()
var todaystring=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec
futurestring=montharray[mo-1]+" "+da+", "+yr
dd=Date.parse(futurestring)-Date.parse(todaystring)
dday=Math.floor(dd/(60*60*1000*24)*1)
dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1)
dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1)
dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1)
//if on day of occasion
if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=1&&todayd==da){
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+message_on_occasion+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+message_on_occasion+closetags
return
}
//if passed day of occasion
else if (dday<=-1){
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+"Occasion already passed! "+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+"Occasion already passed! "+closetags
return
}
//else, if not yet
else{
if (document.layers){
document.countdownnsmain.document.countdownnssub.document.write(opentags+dday+ " days, "+dhour+" hours, "+dmin+" minutes, and "+dsec+" seconds left until "+occasion+closetags)
document.countdownnsmain.document.countdownnssub.document.close()
}
else if (document.all||document.getElementById)
crosscount.innerHTML=opentags+dday+ " Tage, "+dhour+" Stunden, "+dmin+" Minuten und "+dsec+" Sekunden bis "+occasion+closetags
}
setTimeout("countdown()",1000)
}
</script>

<ilayer id="countdownnsmain" width=&{countdownwidth}; height=&{countdownheight}; bgColor=&{countdownbgcolor}; visibility=hide><layer id="countdownnssub" width=&{countdownwidth}; height=&{countdownheight}; left=0 top=0></layer></ilayer>

</center>     </b>



<br>

<!-- UHR -->
Reply With Quote
  #8 (permalink)  
Old 17.11.2004, 20:00
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 33
Posts: 16,877
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Ja ich hatte ein < vor dem /center> vergessen, das war der Fehler.
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #9 (permalink)  
Old 17.11.2004, 20:09
saininja
Gast
 
Posts: n/a
so und hier das nächste Problem da weiß ich jetzt überhaupt nicht weiter !

wenn ich jetzt das hier einabue reißt eer wieder die Tabellen auseinander !

Code:


<if condition="$ftpoptions[index_topfive ]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onClick="return toggle_collapse('ftp_addon_crew_index_race1')"><img id="collapseimg_ftp_addon_crew_index_race1" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_ftp_addon_crew_index_race1].gif" alt="" border="0" /></a>
<span class="smallfont"><b>Top 5 Crew and User Stats</b></span>
</td>
</tr>
</tbody>
<tbody id="collapseobj_ftp_addon_crew_index_race1" style="$vbcollapse[collapseobj_ftp_addon_crew_index_race1]">

<tr>
   
<td  colspan=2 class=tcat><span class="smallfont" style="color:red"><CENTER><b>  Optionen -->   <if condition="$permissions['can_use_crewhack']"><a href="ftp_addon_crew_public.php?$session[sessiourl]&action=show_all_crews" />Zum Crew Portal</a></b></span></if>
<span class="smallfont" style="color:black"><b><if condition="$ftpoptions[crewpanel]=="1" && $ftpoptions[crewstats]=="1" && $permissions[can_use_crewhack] && $permissions[can_use_ftp]"> |<a href="ftp_addon_stats.php?$session[sessionurl]"> User - Statistik</a></if></b></span>
<span class="smallfont" style="color:black"><b> <if condition="$ftpoptions[crewpanel]=="1" && $permissions[can_use_crewhack]=="1" && $ftpoptions[newcrew]"> | <a href="ftp_addon_crew_public.php?$session[sessionurl]&action=crew_add">Neue Crew registrieren</a> </if>

<span class="smallfont" style="color:red"><b> <-- Optionen  </CENTER>


</b></span></td>
</tr>

<tr>
<td class="alt1" style="width:50%" valign="top">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td style="width:40%" class="tcat"  valign="top"><span class="smallfont">Crew Name</span></td>
<td style="width:30%" class="tcat"><span class="smallfont">Gesamt</span></td>
<td style="width:35%" class="tcat"><span class="smallfont">Dieser Monat</span></td>
</tr>
$indexcrewstat
</table></td>
<td class="alt1" style="width:50%" valign="top">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>
<td style="width:40%" class="tcat"  valign="top"><span class="smallfont">User Name</span></td>
<td style="width:30%" class="tcat"  valign="top"><span class="smallfont">Gesamt</span></td>
<td style="width:45%" class="tcat"><span class="smallfont">Dieser Monat</span></td>
</tr>
$indexuserstat



</table></tr></tbody></td>
</table>
<br></if>
<if condition="$ftpoptions[index_topfive ]">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody>
<tr>
<td class="thead" colspan="2">
<a style="float:$stylevar[right]" href="#top" onClick="return toggle_collapse('ftp_addon_crew_index_race1')"><img id="collapseimg_ftp_addon_crew_index_race1" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_ftp_addon_crew_index_race1].gif" alt="" border="0" /></a>
<span class="smallfont"><b>Top 5 Crew and User Stats</b></span>
</td>
</tr>
</tbody>
<tbody id="collapseobj_ftp_addon_crew_index_race1" style="$vbcollapse[collapseobj_ftp_addon_crew_index_race1]">

<tr>
   
<td  colspan=2 class=tcat><span class="smallfont" style="color:red"><CENTER><b>  Optionen -->   <if condition="$permissions['can_use_crewhack']"><a href="ftp_addon_crew_public.php?$session[sessiourl]&action=show_all_crews" />Zum Crew Portal</a></b></span></if>
<span class="smallfont" style="color:black"><b><if condition="$ftpoptions[crewpanel]=="1" && $ftpoptions[crewstats]=="1" && $permissions[can_use_crewhack] && $permissions[can_use_ftp]"> |<a href="ftp_addon_stats.php?$session[sessionurl]"> User - Statistik</a></if></b></span>
<span class="smallfont" style="color:black"><b> <if condition="$ftpoptions[crewpanel]=="1" && $permissions[can_use_crewhack]=="1" && $ftpoptions[newcrew]"> | <a href="ftp_addon_crew_public.php?$session[sessionurl]&action=crew_add">Neue Crew registrieren</a> </if>

<span class="smallfont" style="color:red"><b> <-- Optionen  </CENTER>


</b></span></td>
</tr>

<tr>
<td class="alt1" style="width:50%" valign="top">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td style="width:40%" class="tcat"  valign="top"><span class="smallfont">Crew Name</span></td>
<td style="width:30%" class="tcat"><span class="smallfont">Gesamt</span></td>
<td style="width:35%" class="tcat"><span class="smallfont">Dieser Monat</span></td>
</tr>
$indexcrewstat
</table></td>
<td class="alt1" style="width:50%" valign="top">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">

<tr>
<td style="width:40%" class="tcat"  valign="top"><span class="smallfont">User Name</span></td>
<td style="width:30%" class="tcat"  valign="top"><span class="smallfont">Gesamt</span></td>
<td style="width:45%" class="tcat"><span class="smallfont">Dieser Monat</span></td>
</tr>
$indexuserstat
</table></tr></tbody></td>
</table>
<br></if>
Reply With Quote
Reply

Lesezeichen

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist On.
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Copyright © 2006, Reuter & Bloeß GbR.
| Datenschutz | Sitemap | Unsere Partner | Top |
Home Products Forum Über uns Support & FAQs
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Tipp: Fussball | Heilerde
Shopsystem, Shop System, CMS, Webkatalog mit vBCMS CMS