- Layer (HTML tag)
Layers were the core of a method of
dynamic HTML programming specific toNetscape 4 . Each layer was treated as a separate document object inJavaScript . The content could be either included in the same file within the non-standard<layer>
tag (or any other tag with the positioning set to "absolute" via CSS, loaded from a separate file with<layer src="URL HERE">
or<div src="URL HERE">
, or generated via JavaScript with thenew Layer()
, the content would then be filled with"layer".document.write()
.In modern browsers, this functionality is provided by using an absolutely-positioned div, or, for loading the content from an external file, an
IFrame .References
* Netscape: Dynamic HTML in Netscape Communicator ( [http://web.archive.org/web/*/developer.netscape.com/docs/manuals/communicator/dynhtml/index.htm On the Internet Archive] )
* Eric Krock, " [http://www.stopbadtherapy.com/standards.shtml Transitioning from Proprietary DOMs and Markup to W3C Standards: Enhancing Pages That Use LAYER, document.layers, and document.all to Support Standards] "
Wikimedia Foundation. 2010.