There may come a time when you would like to have some text on a page that is simply just to big to fit on a single page. Of course, you could always create a new document for this text but, what if you could make the text actually scroll through the surfers browser?

The following JavaScript will do just that.

Place the following section of JavaScript coding between your <head> and </head> tags:

<SCRIPT LANGUAGE="JavaScript">
<!--

function scrollit() {
for (I=1; I<=1200; I++) window.scroll(1,I);
}

// -->
</SCRIPT>

Along with the following JavaScript coding someone in the Body of your page:

<FORM>
<INPUT type=button value="scroll" onClick="scrollit()">
</FORM>

Have a play around with the numbers in the first section of the JavaScript to speed up and slow down the rate of scrolling until you find a speed that is easy on the eye.

Article written by Lee.

http://www.sourcecoding.com