'doScroll()' Example : Scroll : Document JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Document » Scroll »

 

'doScroll()' Example



    
<html>
<body>
<body id="myBody">
<button onclick="document.all.myBody.doScroll('scrollbarPageDown');">Page Down</button>
<button onclick="document.all.myBody.doScroll('scrollbarPageUp');">Page Up</button>
<div style="height:5000; width:500; background-color:blue;">Very large div element</div></body>
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Document
» Scroll