Layers were the core of a method of dynamic HTML programming specific to Netscape 4. Each layer was treated as a separate document object in JavaScript. 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 the new 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 (On the Internet Archive)
| This World Wide Web-related article is a stub. You can help Wikipedia by expanding it. |
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)




