Layer.below

JavaScript 1.2+ Nav4+ Syntax

							layer.below

Description

The below property of the Layer object specifies the layer object immediately below the layer in the zIndex. If this does not exist, the below value is null.

Example

Listing 7.321 shows an example of the below property. Two layers are created using the <layer> tag. When the Get Below button is clicked, an alert box is displayed showing the value of the below property.

Listing 7.321 Example of the below Property
 <html> <head> <title> Using the below property of the Layer object</title> </head> <body> <layer id="layer1" width=200 height=200 color= bgcolor="yellow" TOP=170 LEFT=200 VISIBILITY="show"> <center>Layer 1</center> </layer> <layer id="layer2" width=150 height=160 ...

Get Pure JavaScript 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.