Body scroll Properties : Scroll « Document « JavaScript DHTML






Body scroll Properties

    
<html>
<body id="myBody" bgcolor="white" text="#000000">
<button onclick="myBody.scroll='yes';">Scroll bars do appear</button>
<button onclick="myBody.scroll='no';">Scroll bars do not appear</button>
<button onclick="myBody.scroll='auto';">Scroll = auto</button>
</body>
</html>

    
      
      








Related examples in the same category

1.'doScroll()' Example
2.'scrollIntoView()' Example