• ARCHIVES 
  • » why my addbox is doubled in internet explorer??

Pages: 1

why my addbox is doubled in internet explorer??

Vista
» n00b
FTalk Level: zero
41
0
1969-12-31

why my addbox is doubled in internet explorer??

why my addbox is doubled in internet explorer??
bobcbar
» FTalkElite
FTalk Level: zero
5223
0
1969-12-31

Re: why my addbox is doubled in internet explorer??

Check ur js codes for the "set timeout" line of code in ur WVM if it is there remove it. Also check for too many addbox fuction line of code..if you have more than one it could cause ur boxes to double. If neither of these help post ur js codes so we can help. :thumbsup:
Vista
» n00b
FTalk Level: zero
41
0
1969-12-31

Re: why my addbox is doubled in internet explorer??

the floating js tricks in my profile hav "set timeout" in it. is that what cause my addbox to doubled? [quote]dude="<div id='divStayTopLeft' style='position:absolute;z-index:50;'>my_embed_codes</div>"; flow=document.getElementById('flo_wrapper'); river=document.createElement("div"); river.innerHTML=dude; flow.parentNode.insertBefore(river,flow); //in this part you can change it into "frombottom" or "fromtop" var verticalpos="frombottom" function BoyantDiv() { var startX = 27; var startY = 335; function ml(id) { if (document.getElementById) { var wek=document.getElementById(id); } else if (document.all) { var wek=document.all[id]; } else { var wek=document.layers[id]; } if(document.layers) { wek.style=wek; } wek.sP = function(x,y) {shino(x,y);}; function shino(x,y) { wek.style.left=x; wek.style.top=y; } wek.x = startX; if (verticalpos=="fromtop") { wek.y = startY; } else{ if (navigator.appName.indexOf("Netscape") != -1) { wek.y = pageYOffset + innerHeight; } else { wek.y = document.body.scrollTop + document.body.clientHeight; } wek.y -= startY; } return wek; } window.stayTopLeft = function () {boyant();}; function boyant() { if (verticalpos=="fromtop"){ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset; } else { var tenten = document.body.scrollTop; } ftlObj.y += (tenten + startY - ftlObj.y)/8; } else{ if (navigator.appName.indexOf("Netscape") != -1) { var tenten = pageYOffset + innerHeight; } else { var tenten = document.body.scrollTop + document.body.clientHeight; } ftlObj.y += (tenten - startY - ftlObj.y)/8; } ftlObj.sP(ftlObj.x, ftlObj.y); [b] wakoko=setTimeout("stayTopLeft()", 50);[/b] } ftlObj = ml("divStayTopLeft"); stayTopLeft(); } BoyantDiv();[/quote] so if i remove it, wont it hav any effect?
strezzpc
» FTalkFreak
FTalk Level: zero
1691
0
1969-12-31

Re: why my addbox is doubled in internet explorer??

^ Vista Not in floating script bro... If you allready have this code : <">Don't use this setTimeout : [quote]function onProfileLoad() { //onload handler //addBox here }[color=red][b]setTimeout("onProfileLoad()",4000);[/b][/color][/quote] Remove the [color=red][b]red[/b][/color] part
  • ARCHIVES 
  • » why my addbox is doubled in internet explorer??

Pages: 1

Board footer

© 2025 F Talk

Current time is 23:23

[ 10 queries - 0.010 second ]
Privacy Policy