<ilayer> (Inflow Layer)
This Netscape-specific element allows the definition of overlapping content layers that can be positioned, hidden or shown, rendered transparent or opaque, reordered front to back, and nested. An inflow layer is a layer with a relative position that appears where it would naturally occur in the document, in contrast to a general layer, which might be positioned absolutely regardless of its location in a document. The functionality of layers is available using CSS positioning, and page developers are advised not to use this element.
Syntax (Netscape 4 Only)
background="url of image"
bgcolor="color name | #RRGGBB"
clip="x1, y1, x2, y2"
height="percentage | pixels"
id="unique alphanumeric identifier"
src="url of layer contents"
visibility="hide | inherit | show"
width="percentage | pixels"
Element Specific Attributes
- This attribute contains the name of the layer to be rendered above the current layer.
- This attribute contains the URL of a background image for the layer.
- This attribute contains the name of the layer to be rendered below the current layer.
- This attribute specifies a layer's background color. Its value can be either a named color or a color specified in the hexadecimal #RRGGBB format.
- This attribute specifies the clipping region or viewable area of the layer. All layer content outside that rectangle will be rendered as transparent. The clip rectangle is defined by two x,y pairs: top x, left y, bottom x, and right y. Coordinates are relative to the layer's origin point, 0,0 in its top-left corner.
- This attribute specifies the height of a layer in pixels or percentage values.
- This attribute specifies in pixels the horizontal offset of the layer. The offset is relative to its parent layer if it has one or to the left page margin if it does not.
- This attribute assigns the layer a name that can be referenced by programs in a client-side scripting language. The id attribute also can be used.
- This attribute specifies the horizontal position of the layer relative to the browser window.
- This attribute specifies the vertical position of the layer relative to the browser window.
- This attribute is used to set the URL of a file that contains the content to load into the layer.
- This attribute specifies an inline style for the layer.
- This attribute specifies in pixels the top offset of the layer. The offset is relative to its parent layer if it has one or the top page margin if it does not.
- This attribute specifies whether a layer is hidden, shown, or inherits its visibility from the layer that includes it.
- This attribute specifies a layer's width in pixels.
- This attribute specifies a layer's stacking order relative to other layers. Position is specified with positive integers, with 1 indicating the bottommost layer.
<p>Content comes before.</p>
<ilayer name="background" bgcolor="green">
<p>Layered information goes here.</p>
<p>Content comes after.</p>
Netscape 4, 4.5-4.8
Page developers are strongly encouraged not to use this element. Netscape dropped this element for browser versions 6.0 and higher. Its inclusion in this book is for support of existing documents only.