25.15. The Layer Object
Netscape 4.0 supports layered HTML: HTML in separate, possibly overlapping regions. Layers can be defined with the LAYER or ILAYER element or through cascading style sheets; see Section 5.12, (Layers). JavaScript can access and manipulate layers; see Section 24.5 (Using JavaScript to Make Pages Dynamic) for examples. However, note that in Netscape 6, to be compliant with the HTML 4.0 specification, LAYER and ILAYER elements are no longer supported.
Constructors
new Layer(width) This constructor creates a new Layer object. You can specify its contents by setting the src property or by using the load method.
new Layer(width, parentLayer) This constructor builds a layer that is a child of the one specified.
Properties
above ...
Get Core Web Programming, Second Edition 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.