»
EnglishFrenchVietnamese

Print - Scrollers in Status Bar II - JavaScriptBank.com

Full version: jsB@nk » Status » Status » Scrollers in Status Bar II
URL: https://www.javascriptbank.com/scrollers-in-status-bar-ii.html

Scrollers in Status Bar II © JavaScriptBank.comThe script will display the messages which have characters are reduced the distance with every word. But this JavaScript is shorter code I.

Full version: jsB@nk » Status » Status » Scrollers in Status Bar II
URL: https://www.javascriptbank.com/scrollers-in-status-bar-ii.html



JavaScript
<script language="JavaScript">//set message:msg = "Welcome to JavaScriptBank.com";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()// --></script><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->