Name
VISIBILITY — NN 4 IE n/a HTML n/a
Synopsis
VISIBILITY=”visibilityConstant"
Optional
Determines whether Navigator displays the ILAYER
element. The default behavior is for a layer to inherit the
VISIBILITY
attribute of its next outermost
(parent) layer. For an ILAYER
element that is part
of the basic document body, this means that the layer is seen by
default (the base layer is always visible). To hide a layer when the
page loads, set the VISIBILITY
attribute to
"hidden"
. You need set the attribute to
"show"
only if the ILAYER
element is nested within another LAYER
whose
VISIBILITY
value is set to (or is inherited as)
"hidden"
.
Regardless of the VISIBILITY
attribute setting, an
ILAYER
element always occupies its normal inflow
space in the document. This allows Navigator to change the visibility
on the fly (via scripting) without reloading the document. (Navigator
4 does not automatically reflow changed content.)
Example
<ILAYER SRC="quotes.html" VISIBILITY="hidden"></ILAYER>
Value
One of the accepted constants: hidden
|
inherit
| visible
.
Default
inherit
Object Model Reference
- NN
[window.]document.layerName.visibility
Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.