'scroll' Example : scroll « Javascript Properties « JavaScript Reference

'scroll' Example

    
<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.'scroll' Syntax and Note
2.'scroll' Possible Values
3.'scroll' is applied to