dcsimg

The Script

<SCRIPT LANGUAGE="JavaScript">

var space = " "
var scr = space + "This text is scrolling along..."

function ScrollAlong()
{

temp = scr.substring(0,1);
scr += temp
scr = scr.substring(1,scr.length);
document.Scroll.ScrollBox.value = scr.substring(0,55);
setTimeout("ScrollAlong()",50);
}
</SCRIPT>


<BODY BGCOLOR="#FFFFFF" onLoad="ScrollAlong()">

<FORM NAME="Scroll">
<INPUT TYPE="text" size="50" name="ScrollBox" value="">
</FORM>

The Script's Effect

 

Back to the Index Page