August 1999
Intermediate to advanced
1488 pages
72h 53m
English
layer.siblingAbove
The siblingAbove property of the Layer object refers to the sibling layer immediately above the current layer in the zIndex. If this doesn't exist, null is returned.
Note
Any child of a parent layer is considered a sibling.
Listing 7.352 shows how to get the siblingAbove property value. When the button is clicked, the siblingAbove value is displayed.
<html> <head> <title> Using siblingAbove 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 ... |
Read now
Unlock full access