Webmaster

Tips
All Tips ]

A page that automatically scrolls from top to bottom

To automatically scroll the content of your page from top to bottom, place the following script between the tags <BODY> and </BODY> in your HTML code:


<script LANGUAGE="JavaScript">
<!--
        var position = 0;
function scroller() {
        if (position != 320) {
                position++;
                scroll(0,position);
                clearTimeout(timer);
                var timer = setTimeout("scroller()",3); timer;
        }
        else
{
           location.replace("#");
        }
}
// -->
</script>
<body onload="scroller()">
Place your page's content here (text, pictures...)

Long pages. The content of your page must fill more than one screen in order to see it scroll.

Discover all Webmaster tips.