JavaScript Code :
<!-- This script scrolls ' Your text goes here ' in the status bar --> <SCRIPT LANGUAGE="JavaScript"> function statusscroll(seed,looped) { var msg = " Your text goes here "; var putout = " "; var c = 1; if (looped > 10) { window.status="No it scolled often enough !"; } else if (seed > 100) { seed--; var cmd="statusscroll(" + seed + "," + looped + ")"; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 100 && seed > 0) { for (c=0 ; c < seed ; c++) { putout+=" "; } putout+=msg.substring(0,100-seed); seed--; var cmd="statusscroll(" + seed + "," + looped + ")"; window.status=putout; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 0) { if (-seed < msg.length) { putout+=msg.substring(-seed,msg.length); seed--; var cmd="infoscroll(" + seed + "," + looped + ")"; window.status=putout; timerTwo=window.setTimeout(cmd,100); // 100 } else { window.status=" "; looped += 1; var cmd = "infoscroll(100," + looped + ")"; timerTwo=window.setTimeout(cmd,75); // 75 } } } // --> <!-- statusscroll(100,1) // --> </SCRIPT>

 

This page hosted by Get your own Free Homepage

Hosted by www.Geocities.ws

1