TOC PREV NEXT INDEX

Put your logo here!


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


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX