Name
Z-INDEX — NN 4 IE n/a HTML n/a
Synopsis
Z-INDEX=”layerNumber"Optional
Controls the positioning of layers along the Z-axis (front-to-back)
of the document relative to the next outermost layer container. When
the Z-INDEX values of two or more positionable
elements within the same container (such as the base document layer)
are identical numbers, the loading order of the elements in the HTML
source code controls the stacking order, with the later elements
stacked in front of earlier ones. The default
Z-INDEX value for all positionable elements is
zero. Therefore, if you want only one positionable element to appear
in front of all the others that stack in their default order, you
simply assign any positive value (even 1) to that stand-out element.
Stacking order of positionable elements can be changed on-the-fly via
scripting.
Example
<ILAYER SRC="quotes.html" Z-INDEX=1></ILAYER>
Value
Any integer.
Default
0
Object Model Reference
- NN
[window.]document.layerName.zIndex
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