Back to Scripts page
Click in the text area below, select all and copy to grab the script
Script listing:
<HTML> <HEAD> <TITLE>My JavaScript page</TITLE> <SCRIPT LANGUAGE=JAVASCRIPT TYPE="TEXT/JAVASCRIPT"> <!-- Hide script from old browsers myMsg = "Hey, I know JavaScript - check out my kewl scroller! ... " i = 0 function scrollMsg() { window.status = myMsg.substring(i,myMsg.length) + myMsg.substring(0,i-1) if (i < myMsg.length) { i++ } else{ i = 0 } setTimeout("scrollMsg()",50) } // End hiding script from old browsers --> </SCRIPT> </HEAD> <BODY BGCOLOR=WHITE onLoad="scrollMsg()"> <H2>I'm a kewl JavaScript dood with a scrolling status bar!</H2> </BODY> </HTML>