Pages: 1..12345678910

  2008-04-22 07:55:49

Refresh/Reload
» FTalkAddict
FTalk Level: zero
332
0
1969-12-31

Re: ORIGINAL CODE AND IDEA : [url=http://www.dynamicdrive.com]dynamicdrive[/url] BROWSER COMPATIBLE : Mozilla Firefox and Internet Explorer v6 REQUIREMENT : Knowledge in [url=http://theftalk.com/t2

[quote=andHa][b]@ R/R[/b] nice idea dude. why don't u share it with us ? :D i'll post it the first post if necessary.[/quote] :D no problem dude :thumbsup:... i just hope it works on others too... coz my navigation area is customized... fix at 800px. btw... it works in [b]IE6[/b] =D [b]see this first:[/b] [url=http://theftalk.com/t17739-Customized-NAVIGATION-AREA-vR-R-tracker.html]My Customized Navigation[/url] [b]Welcome Message at Top of Banner[/b] with viewers name... [b]CSS[/b] change your navLang into this... [quote][b]#navLang[/b] { padding-top:[b]6px[/b]; padding-bottom:[b]250px[/b]; width:100%; text-align:center; align:center; display:block ! Important; overflow:hidden; }[/quote] [b]JS[/b] put the 1st part on top of the onloadhandler... [quote][b]//welcome message at top of banner PART 1[/b] var bulaga= document.getElementById("navLang") var andha = "<div align='center' id='[b]test[/b]'></div>"; bulaga.innerHTML="<center>"[b]+andha+[/b]"</center>"; bulaga.style.height="auto";bulaga.style.overflow="hidden"; function onProfileLoad() { addBox("RIGHT","VISITORS",TRACKER.div.innerHTML,"tracker",null); [b]position_at_top();expand();[/b] } /*rest of tracker codes here*/ //then put the 2nd part anywhere outside below the tracker codes [b]//welcome message at top of banner PART 2[/b] var themessage="[b]WELCOME TO MY NIGHTMARE!![/b]<br><br><br><br><br><br><font face='Arial' font-weight='bold' color='#fffafa' SIZE='4'>[b]page loading[/b] <font color=#00ffff>[color=red]"+pageViewerFName+"[/color]</font>... [b]pls. kindly wait...[/b]</font><br><br><br><br>[b]behave or die!![/b]" var fontsize=12 var appearfor=[b]5000[/b] function position_at_top(){ if (document.layers) document.test.top=pageYOffset else if (document.all){ test.innerHTML='<div align=center><br><br><font face="Arial" color="#ff0033">'+themessage+'</font><br></div>' setTimeout("test.style.top=document.body.scrollTop+10;test.style.left=document.body.scrollLeft+10",100) } else if (document.getElementById){ document.getElementById("test").innerHTML='<div align=center><br><br><font face="Arial" color="#ff0033">'+themessage+'</font><br></div>' document.getElementById("test").style.top=pageYOffset } } function expand(){ if (document.layers){ document.test.document.write('<div align=center style="font-size:'+fontsize+'px"><br><br><font face="Arial" color="#ff0033">'+themessage+'</font><br></div>') document.test.document.close() } else if (document.all) test.style.fontSize=fontsize+'px' else if (document.getElementById) document.getElementById("test").style.fontSize=fontsize+'px' fontsize+=5 if (fontsize>[b]50[/b]){ if (document.layers) setTimeout("document.test.visibility='hide'",appearfor) else if (document.all) setTimeout("test.style.visibility='hidden'",appearfor) else if (document.getElementById) setTimeout("document.getElementById('test').style.visibility='hidden'",appearfor) return } else setTimeout("expand()",50) }[/quote] just adjust the navLang css and the [b]<br>[/b] break tags when you want to add or lessen text... you can add images too but in less kb only(like emoticons) but sometimes it freezes in IE but not in Fx. ...IE sucks!! =D :arrow: [b]Preview:[/b] [url=http://profiles.friendster.com/user.php?uid=60531874]click here[/url] hope this works for everybody...:D

Last edited by Refresh/Reload (2008-09-07 10:51:44)

Pages: 1..12345678910

Board footer

© 2024 F Talk

Current time is 23:57

[ 12 queries - 0.019 second ]
Privacy Policy