Button Click Scrolls Down

[Total: 0    Average: 0/5]

Javascript function when the form button clicked will scroll the page down.

Body Code:

<SCRIPT language=JavaScript>
<!--
function scrollit(){ 
        for (I=1; I<=500; I++){         
                parent.scroll(1,I)  
        }
}                                                     
//-->
</SCRIPT>
<FORM>
<INPUT onclick=scrollit() type=button value=ScrollDown> 
</FORM>
<pre>Write you text here










and here



















and here too
















</pre>

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *