Make your own free website on Tripod.com

Scrolling Status Bars

<html>
<head>
<title>TITLE HERE</title>

<script language="javascript" type="text/javascript">
<!--
myMsg = "HEY! YOU, PUT YOUR SCROLLING STATUS BAR MESSAGE HERE!!!!"

i = 0

function scrollMsg() {
window.status = myMsg.substring (i,myMsg.length) + myMsg.substring(0,i-1)

if (i < myMsg.length) {
i++
}
else {
i = 0
}
// in the next line you will see the number 200. If you want the message to scroll faster, decrese the number, if you want it to be slower increse it. do not add spaces!!
setTimeout("scrollMsg()",200)
}

//-->
</script>

</head>
<body onLoad="scrollMsg()">
WEBSITE CONTENT
</body>
</html>

All you need to edit is the part that says HEY! YOU, PUT YOUR SCROLLING STATUS BAR MESSAGE HERE!!!!, and you can also edit the speed of the status bar by adjusting the number "200"

( And don't forget that you need to keep the onLoad="scrollMsg()" in the body tag! )

Main?