August 1999
Intermediate to advanced
1488 pages
72h 53m
English
layer.above
The above property of the Layer object refers to the layer immediately above the layer in the zIndex. If this does not exist, the value is null.
Listing 7.319 shows how the above property is used. Two layers are created and when the Get Above button is clicked, an alert box is displayed with the value of the above attribute.
<html> <head> <title> Using the above 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 color= bgcolor="green" TOP=100 LEFT=70 ... |
Read now
Unlock full access