TOC PREV NEXT INDEX

domref



scrolling


The scrolling property specifies whether the current frame should provide scrollbars or not.

Syntax

sBars = iFrameElement.scrolling
 
iFrameElement.scrolling = sBars
 

Parameters

sBars is a string with the value "auto", "no," or "yes."

Example

i= document.getElementById("iframe");
 
i.scrolling = yes;
 

Notes

The default value for this property is "auto," which specifies that scrollbars be added whenever necessary. "yes" means that they are always present, and "no" means that htey are never present.

Specification

DOM Level 2 -- HTMLFrameElement


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX