Javascript Reference
Categories: layer

javascript layer visibility

@March 15, 2008, 1:22 a.m.
visibilityNN |4| IE n/a Chrome/Safari/DOM n/a  

Read/Write  

Indicates the state of the positioned element's visibility. Surrounding content does not close the space left by an element whose visibility property is set to hide (or the CSS version, hidden). If you set the property to the CSS syntax values (hidden | visible), they are converted internally to the JavaScript versions and returned from the property in that format.

 
Example
 
document.myIlayer.visibility = "hide";
 
Value

One of the constant values (as a string): hide | inherit | show.

 
Default

inherit


Powered by Linode.