'doScroll()' Example : doScroll « Javascript Methods « JavaScript Reference

Home
JavaScript Reference
1.Event Handlers Reference
2.Javascript Collections
3.Javascript Methods
4.Javascript Objects
5.Javascript Properties
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
1.'doScroll()' Syntax, Parameters and Note
2.'doScroll()' is applied to
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.