O'Reilly logo

Dynamic HTML: The Definitive Reference by Danny Goodman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

<ILAYER> — NN 4 IE n/a HTML n/a

Synopsis

<ILAYER>...</ILAYER>

End Tag: Required

An ILAYER element is an inline version of the Navigator-specific LAYER element. In some respects, the ILAYER element works like the IFRAME element in Internet Explorer, but an ILAYER is automatically regarded as a positionable element in Navigator’s object model (e.g., like a block-level element whose CSS position: attribute is set to relative). As a result, many of the attributes are the same as the LAYER element and are named according to the Navigator way of positioning, sizing, and stacking positionable elements. It is unlikely that the LAYER or ILAYER elements will be adopted by the W3C, so you are encouraged to use CSS-Positioning syntax (which works on both browser platforms) instead.

Content for an ILAYER element can be read in from a separate file (with the SRC attribute) or wired into the current document by placing the HTML between the start and end tags. You can include both types of content in the same ILAYER element. Content from the SRC document is rendered first (as its own block-level element), with additional content starting on its own line below the external content’s rectangle.

Example

<ILAYER ID="thingy1" SRC="quotes.html" WIDTH=150 HEIGHT=90></ILAYER>

Object Model Reference

NN

[window.]document.layerName

Attributes

ABOVE

BGCOLOR

ID

TOP

WIDTH

BACKGROUND

CLIP

LEFT

VISIBILITY

Z-INDEX

BELOW

HEIGHT

SRC

  

Event Handler Attributes

Handler

NN

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required