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
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access