July 1998
Intermediate to advanced
1456 pages
65h 5m
English
SRC — NN 4 IE n/a HTML n/a
SRC=”URL"Optional
To load the content of an external HTML file into a
LAYER element, assign the URL of that file to the
SRC attribute. Any HTML content between the
LAYER start and end tags is rendered on the page
after the content is 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 LAYER
element (without reloading the main document).
<LAYER BGCOLOR="yellow" SRC="instrux.html" WIDTH=200 HEIGHT=300</LAYER>
A complete or relative URL.
None.
[window.]document.layerName.src
Read now
Unlock full access