Javascript Reference
Categories: FRAME

javascript FRAME scrolling

@March 15, 2008, 1:22 a.m.
scrollingFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

Controls the treatment of scrollbars for a frame when the content exceeds the visible area of the frame. You can force a frame to display scrollbars at all times or never. Or you can let the browser determine the need for scrolling. In many supporting browsers, changing the value of this property has no effect.

 
Example
 
parent.document.getElementById("mainFrame").scrolling = "yes";
 
Value

String values of 1 (on) and 0 (off) as well as yes, no, and auto.

 
Default

auto


Powered by Linode.