<IFRAME...>
     ALIGN="left|right|top|texttop|middle|absmiddle|baseline|bottom|absbottom"
     BORDER="Pixels"
     BORDERCOLOR="#rrggbb|Colour Name"
     CLASS="Style Sheet Class"
     DATAFLD="Data Source Column Name"
     DATASRC="Data Source Identifier"
     FRAMEBORDER="yes|no||1|0"
     HEIGHT="Pixels"
     HSPACE="Pixels"
     ID="Unique Identifier"
     LANG="Language descriptor"
     LANGUAGE="Scripting Language descriptor"
     NAME="Element Identifier"
     SCROLLING="yes|no||1|0"
     SRC="URL"
     STYLE="Style Sheet Setting"
     TITLE="Title of element"
     VSPACE="Pixels"
     WIDTH="Pixels|Percentage"
     onBlur="Script Function"
     onFocus="Script Function"
     onLoad="Script Function"
     onUnLoad="Script Function"
>
...
</IFRAME>

Description

Renders a 'floating frame' within the document.

Attributes

Attribute Description
ALIGN Specifies the alignment of the floating frame, relative to the document contents. Values of left or right cause the document text to float arounf the in-line frame.
BORDER Sets the width of the in-line frames border.
BORDERCOLOR Specifies the colour of the border for the specific <IFRAME> (requires the BORDER attribute to be non-zero)
CLASS Sets the style sheet class (specified in an in-line, linked or imported style sheet) to be applied to the element.
DATAFLD Specifies the column name of the data (from the data source specified in the DATASRC attribute) to be used for populating the element. For the <IFRAME> element, the contents of the data will specify the SRC attribute, so should be a URL.
DATASRC Specifies the ID attribute of an embedded data-source object (using the <OBJECT> element) that will be used as the data source for the elements data.
FRAMEBORDER A boolean value that specifies whether the in-line frame will have a border displayed or not.
HEIGHT Sets the height of the in-line frame in pixels.
HSPACE Specifies an amount of horizontal white space (I.e. to the left and right) surrounding the in-line frame.
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.
NAME Specifies the name of the in-line frame, which can then be used in TARGET attributes of elements, to load new documents in the in-line frame.
SCROLLING Sets whether the in-line frame will have scrollbars enabled or not.
SRC Specifies the URL of a document, whose contents will be used as the contents of the in-line frame.
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.
VSPACE Specifies an amount of vertical white space (I.e. to the left and right) surrounding the <IFRAME>.
WIDTH Specifies the width of the in-line frame in pixels, or as a percentage of the browser window.

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 window definition in the <IFRAME> element has finished loading.
onUnLoad Fired whenever the floating frame is unloaded (e.g. when the browser is closed, or a new document is loaded).


See 'HTML Reference|Frames|<IFRAME>' for more information.