BODY.scroll (Property)

A switch for whether the scrollbars appear or not.


JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyBODY.scroll

If this property contains "yes", then scrollbars will appear if the window content exceeds the size of the space available. If it is "no", then the scroll bars will not appear.

Although this is a switch, it is not strictly a Boolean value because it only takes the values "yes" and "no". A true Boolean value would accept only "true" or "false". This may be because the property might yield the value "auto" on some platform variants if it has been defined in the HTML tag attributes for a frame.