Assignment 42: A Possible Answer


<script language="JavaScript">

var scr = " "
var scr = scr + "This text is scrolling along..."
function ScrollAlong()
temp = scr.substring(0,1);
scr += temp
scr = scr.substring(1,scr.length);
defaultStatus = scr.substring(0,55);



Gives you this:

     You get the effect by pointing the output of the script toward the status bar. The speed increase is done by setting the number 50 in the "setTimeout" to less than the original, 50.


Did You Get It?


Back to the Index Page