<ILAYER...>
     ABOVE="Layer Reference"
     BACKGROUND="URL"
     BELOW="Layer Reference"
     BGCOLOR="#rrggbb|Colour Name"
     CLASS="Style Sheet Class"
     ID="Unique Identifier"
     LANG="Language descriptor"
     LANGUAGE="Scripting Language descriptor"
     LEFT="Pixels"
     NAME="Element Identifier"
     SRC="URL"
     STYLE="Style Sheet Setting"
     TITLE="Title of element"
     TOP="Pixels"
     VISIBILITY="show|hide|inherit"
     WIDTH="Pixels|Percentage"
     Z-INDEX="Z-order Index"
     onBlur="Script Function"
     onFocus="Script Function"
     onLoad="Script Function"
     onMouseOut="Script Function"
     onMouseOver="Script Function"
>
...
</ILAYER>

Description

Renders an in-line layer in the document. Normally, the in-line layer would be rendered at the point in the document content where the <ILAYER> element occurs, but it can be set to float over the top or behind other content.

Attributes

Attribute Description
ABOVE Specifies an existing <LAYER> element, that the current <LAYER> element will be above, in terms of z-order.
BACKGROUND Provides a URL reference for an image to be used as the background for the in-line layer.
BELOW Specifies an existing <LAYER> element, that the current <LAYER> element will be below, in terms of z-order.
BGCOLOR Specifies a colour for the background of the in-line layer.
CLASS Sets the style sheet class (specified in an in-line, linked or imported style sheet) to be applied to the element.
ID Sets a unique identifier for the element, allowing it to be referenced within scripting functions, or to specify a style sheet setting, set using a #<style_class> class selector.
LANG Specifies the language (using an ISO country code derived classifier) that the element is using, for browsers that support document localisation.
LANGUAGE Sets the scripting language that any in-line scripting events are written in.
LEFT Specifies the left-most point of the <ILAYER>, in pixels, with "0" being the left-most point in the document content flow where the in-line layer is encountered. LEFT can take negative values, initially displaying the contents of the in-line layer floating over other document content.
NAME Sets a unique identifier for the in-line layer, which can be used to identify the in-line layer in scripting functions, or to identify the in-line layer in scripting functions.
SRC Specifies the URL of a document, whose contents will be used as the contents of the in-line layer.
STYLE Sets in-line style sheet settings for the element, which will over-ride any set in a <STYLE> block, or externally linked to the document.
TITLE Specifies an informational title for the element. The contents of the TITLE attribute may be presented as a Tool-Tip by some browsers.
TOP Specifies the top-most point of the <ILAYER>, in pixels, with "0" being the top-most point in the document content flow where the in-line layer is encountered. TOP can take negative values, initially displaying the contents of the in-line layer floating over other document content.
VISIBILITY Controls whether the in-line layer is visible (VISIBILITY="show") or not (VISIBILITY="hide"). A value of VISIBILITY="inherit" sets the visibility value to that of the in-line layers parent. If it has no parent (or is a parent layer), then 'inherit' and 'show' are identical.
WIDTH Specifies the width of the in-line layer in pixels.
Z-INDEX Specifies the z-order index of the in-line layer with respect to other layers. It is mutually exclusive with the ABOVE or BELOW attributes.

Scripting Events

Event Description
onBlur Fires when the element loses the users focus (i.e. the user clicks on a different element within the document).
onFocus Fires whenever the element receives the focus, either by the user directly clicking on, or 'tab'bing to the element, or when the focus is applied through scripting.
onLoad Fired when the document containing the referenced layer is fully loaded, regardless of the referenced layers visibility.
onMouseOut The onmouseout event fires when the users mouse leaves the area defined by the referenced element.
onMouseOver The onmouseover event fires when the users mouse enters the area defined by the referenced element.


See 'HTML Reference|Text Formatting|<ILAYER>' for more information.