Pages: 12
You are viewing a post by BwizetT. View all 28 posts in [b]Heres the code[/b] :thumbsdown: [quote]<!-- //set message: msg = "[b]YOUR MESSAGE HERE[/b]"; timeID = 10; stcnt = 16; wmsg = new Array(33); wmsg[0]=msg; blnk = " .
[quote]<!--
//set message:
msg = "[b]YOUR MESSAGE HERE[/b]";
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()
// -->[/quote]
Just Compile it with your other JS Codes
[b]Credits Goes to Dynamic Drive[/b]
This only Works on IE
Last edited by BwizetT (2008-08-23 23:49:38)