![]() |
Scrolling message in status window - how can help
I want a message to blink or scroll across in the status window of the browser when people visist my site anyone know the code for this?
|
|
post it
|
Remove the [ ] tags & replace with < > for this to work....
Place this in the head section of your html.. [SCRIPT LANGUAGE="JavaScript"] [!-- Begin var hellotext = "YOUR TEXT GOES HERE!" var thetext = ""; var started = false; var step = 0; var times = 1; function welcometext() { times--; if (!times) { if (!started) { started = true; window.status = hellotext; setTimeout("anim()", 1); } thetext = hellotext; } } function anim() { step++; if (step==7) step = 1; if (step==1) window.status = '>===' + thetext + '===<'; if (step==2) window.status = '=>==' + thetext + '==<='; if (step==3) window.status = '>=>=' + thetext + '=<=<'; if (step==4) window.status = '=>=>' + thetext + '<=<='; if (step==5) window.status = '==>=' + thetext + '=<=='; if (step==6) window.status = '===>' + thetext + '<===' setTimeout("anim()", 200); } // End --] [/script] This is just one example.. ------------------ Here's Who I Use to Make My Money! And This is my Fucking Website! [This message has been edited by spacedog (edited 12-16-2001).] |
You want to annoy your visitors that much? http://bbs.gofuckyourself.net/board/wink.gif
|
that script didn't do nothing
|
<script language="JavaScript">
< !-- function scrollit_r2l(seed) { var m1 = "Add this scrolling message in your status bar. It's Easy ! Change your message to read anything you choose . . . Unchilled"; var msg = m1; var out = " "; var c = 1; if (seed > 100) { seed--; var cmd="scrollit_r2l(" + seed + ")"; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 100 && seed > 0) { for (c=0 ; c < seed ; c++) { out+=" "; } out+=msg; seed--; var cmd="scrollit_r2l(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 0) { if (-seed < msg.length) { out+=msg.substring(-seed,msg.length); seed--; var cmd="scrollit_r2l(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,100); } else { window.status=" "; timerTwo=window.setTimeout("scrollit_r2l(100)",100 ); } } } //--> </script> |
Post the url where you placed the code..
Did you replace the [ ] with < >.. Did you replace YOUR TEXT HERE with Your scroll message? |
onload=welcometext() in your body tag
------------------ Put a stripper on your desktop Totem Cash Gilligan's Island was the best show ever made |
Quote:
|
I thought so too.
http://bbs.gofuckyourself.net/board/wink.gif ------------------ Put a stripper on your desktop Totem Cash Gilligan's Island was the best show ever made |
All times are GMT -7. The time now is 10:22 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123