Windows statusbar scrolling message
|
|
<html> <head> <title>A Simple Page</title> <script language="JavaScript"> <!-- var counter = 0 var msg = "Thanks"; function scrollMsg() { if (counter < 10) { window.status = msg; msg = msg.substring(1,msg.length) + msg.substring(0,1); setTimeout("scrollMsg()",150); counter += 1 } else { window.status = ""; } } // --> </script> </head> <body onload="scrollMsg()">
</body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
|