Name
VISIBILITY — NN 4 IE n/a HTML n/a
Synopsis
VISIBILITY=”visibilityConstant"Optional
Determines whether Navigator displays the LAYER
element. The default behavior is for a layer to inherit the
VISIBILITY attribute of its next outermost
(parent) layer. For a LAYER 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 LAYER
element is nested within another LAYER (or
ILAYER) whose VISIBILITY value
is set to (or is inherited as) "hidden".
Example
<LAYER BGCOLOR="yellow" SRC="instrux.html" WIDTH=200 HEIGHT=300 PAGEX=50 PAGEY=350 VISIBILITY="hidden"> </LAYER>
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