CODE
<script LANGUAGE="JavaScript">
<!--
// Use these three variables to set the message, scroll speed and start position
var msg = "Your Message Here" //This is the message that will appear in the status bar.
var delay = 128 //increase to slow down movement
var startPos = 130 //increase to move start position to the right
// Don't touch these variables:
var timerID = null
var timerRunning = false
var pos = 0
// Make it all work
Scrollit()
function Scrollit(){
// Make sure the clock is stopped
StopTheClock()
// Pad the message with spaces to get the "start" position
for (var i = 0; i < startPos; i++) msg = " " + msg
// Off we go...
DoTheScroll()
}
function StopTheClock(){
if(timerRunning)
clearTimeout(timerID)
timerRunning = false
}
function DoTheScroll(){
if (pos < msg.length)
self.status = msg.substring(pos, msg.length);
else
pos=-1;
++pos
timerRunning = true
timerID = self.setTimeout("DoTheScroll()", delay)
}
//-->
</SCRIPT>
<!--
// Use these three variables to set the message, scroll speed and start position
var msg = "Your Message Here" //This is the message that will appear in the status bar.
var delay = 128 //increase to slow down movement
var startPos = 130 //increase to move start position to the right
// Don't touch these variables:
var timerID = null
var timerRunning = false
var pos = 0
// Make it all work
Scrollit()
function Scrollit(){
// Make sure the clock is stopped
StopTheClock()
// Pad the message with spaces to get the "start" position
for (var i = 0; i < startPos; i++) msg = " " + msg
// Off we go...
DoTheScroll()
}
function StopTheClock(){
if(timerRunning)
clearTimeout(timerID)
timerRunning = false
}
function DoTheScroll(){
if (pos < msg.length)
self.status = msg.substring(pos, msg.length);
else
pos=-1;
++pos
timerRunning = true
timerID = self.setTimeout("DoTheScroll()", delay)
}
//-->
</SCRIPT>
this makes a message scroll down in the status bar
replace a message in the quotation marks like this: "Your Message Here"

