Javascript Reference
Categories: IFRAME

javascript IFRAME allowTransparency

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

Read/Write  

Specifies whether the iframe background can be transparent. For the background of the main document to show through both the iframe and its document, the document's background-color style attribute must be set to transparent.

 
Example
 
document.getElementById("myIframe").allowTransparency = true;
 
Value

Boolean value: true | false.

 
Default

false


Powered by Linode.