'doScroll()' Example : doScroll « Javascript Methods « JavaScript Reference
- JavaScript Reference
- Javascript Methods
- doScroll
'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>
Related examples in the same category