The scrolling text appears in the status bar.
<BODY onLoad="timerONE=window.setTimeout('scrollit_r2l(100)',500);">
/*make sure to add the onLoad statement to the body statement with your text and background colors*/
<SCRIPT LANGUAGE="JavaScript">
function scrollit_r2l(seed)
{
var m1 = "Superbaugh Welcomes You To His Home On The World Wide Web!";
var m2 = " "
var m3 = " Please Come Back Soon! :)";
/* Change var m1, m2, and m3
* add more or remove variables above
* make apropriate changes to var msg below
*/
var msg=m1+m2+m3;
var out = " ";
var c = 1;
if (seed > 100) {
seed--;
var cmd="scrollit_r2l(" + seed + ")";
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";
}
out+=msg;
seed--;
var cmd="scrollit_r2l(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (-seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
var cmd="scrollit_r2l(" + seed + ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100);
}
else {
window.status=" ";
timerTwo=window.setTimeout("scrollit_r2l(100)",75);
}
}
}
</SCRIPT>