August 1999
Intermediate to advanced
1488 pages
72h 53m
English
layer.zIndex
The zIndex property of the Layer object represents the stacking order of the layers.
Listing 7.357 shows an example of the zIndex property. When the button is clicked, an alert box is displayed showing the value of zIndex.
<html> <head> <title> Using the zIndex 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 VISIBILITY="show"> <center>Layer 2</center> </layer> <form name="form1"> <input type="button" ... |
Read now
Unlock full access