1 STATUS BAR SCROLLER! Sat Jan 31, 2009 4:55 pm
danilodeleon
Administrative Team
Description: Version of the effect, this script animates a message of your choice slowly into view in your visitor browser's status bar. Interesting and non intrusive way to greet your visitors!
CREDITS: jskit for javascripting,,my webhost and TO ME...xd,,,
legend:
red part =you can cahnge it on any messages you want to...
COMPILE IT IN YOUR JS FILE EXTENSION.
CREDITS: jskit for javascripting,,my webhost and TO ME...xd,,,
- Spoiler:
- msg = "PUT YOUR MESSAGE HERE";
timeID = 10;
stcnt = 16;
wmsg = new Array(33);
wmsg[0]=msg;
blnk = " ";
for (i=1; i<32; i++)
{
b = blnk.substring(0,i);
wmsg[i]="";
for (j=0; j<msg.length; j++) wmsg[i]=wmsg[i]+msg.charAt(j)+b;
}
function wiper()
{
if (stcnt > -1) str = wmsg[stcnt]; else str = wmsg[0];
if (stcnt-- < -40) stcnt=31;
status = str;
clearTimeout(timeID);
timeID = setTimeout("wiper()",100);
}
wiper()
legend:
red part =you can cahnge it on any messages you want to...
COMPILE IT IN YOUR JS FILE EXTENSION.