Name

SRC — NN 4 IE n/a HTML n/a

Synopsis

SRC=”URL"

Optional

To load the content of an external HTML file into an ILAYER element, assign the URL of that file to the SRC attribute. Any HTML content between the ILAYER start and end tags is rendered on the page after the content loaded from the SRC URL. If you omit the SRC attribute, only content between the tags is rendered. Scripts can change the corresponding object property (src) after the document has loaded to dynamically change content within the ILAYER element (without reloading the main document).

Example

<ILAYER SRC="quotes.html"></ILAYER>

Value

A complete or relative URL.

Default

None.

Object Model Reference

NN

[window.]document.layerName.src

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.