Javascript Reference
Categories: IFRAME

javascript IFRAME scrolling

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

Read/Write  

Specifies the treatment of scrollbars for an iframe when the content exceeds the visible area of the iframe. You can force an iframe to display scrollbars at all times or never. Or you can let the browser determine the need for scrolling. It is not uncommon for browsers to ignore scripted changes to this property. Make your choice in the element's scrolling attribute.

 
Example
 
document.getElementById("myIframe").scrolling = "no";
 
Value

One of three constants (as a string): auto | no | yes.

 
Default

auto


Powered by Linode.