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

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.