javascript BODY scroll

scroll NN n/a IE 4 DOM n/a  

 

Read/Write  

Specifies whether the window (or frame) displays scrollbars when the content exceeds the window size. If your document specifies a standards-compatible DOCTYPE definition, the scroll property does not respond to changes for the body element. Nor does the html element object gain this property, as Microsoft's developer documentation purports.

 
Example
 
document.body.scroll = "no";
 
Value

Not exactly a Boolean value. Requires one of the following string values: yes | no | auto.

 
Default

yes

 


331,Nickname,Homepage or email,Comments here,Add comment