»
EnglishFrenchVietnamese

Print - Status Changer - JavaScriptBank.com

Full version: jsB@nk » Status » Status Changer
URL: https://www.javascriptbank.com/status-changer.html

Status Changer © JavaScriptBank.comThis is a different script to change and display the differrent words in status bar after a defined time.

Full version: jsB@nk » Status » Status Changer
URL: https://www.javascriptbank.com/status-changer.html



JavaScript
<script language="Javascript">var stat=new Array();//Put the number of seconds you want between each message between the quotesvar secondsspeed="3.5";//Put the number of messages you have TOTAL between the quotes.var total="5";/*Place your messages between the quotes in each line.To add a new line type stat[the number]="Your message.";*/stat[1]="WELCOME TO JSBank!!!";stat[2]="PLEASE VISIT MY JAVASCRIPTS SECTION.";stat[3]="ITS GOT TONS OF JAVASCRIPTS!";stat[4]="ALL COLLECTED BY ME!";stat[5]="A 12 YEAR OLD JAVASCRIPT GENIOUS";var num="1";var speed=eval(secondsspeed*1000);function statusnow(){var stdh=stat[num];if(num<=total){window.status=stdh;setTimeout("statusnow()",speed)num++;}else if(num>total){num="1";statusnow()}}window.onload = statusnow;</script>