August 1999
Intermediate to advanced
1488 pages
72h 53m
English
layer.clip.bottom
The clip.bottom property of the Layer object refers to the bottom of the layer's clipping area.
Listing 7.324 shows an example of how clip.bottom is used. Two layers are created using the <layer> tag. When the button is clicked, the clip1 function is called, which clips the bottom of layer1 by 100 pixels.
<html>
<head>
<title> Using the clip.bottom property of the Layer object</title>
</head>
<body>
<script language="JavaScript">
<!-- Hide
// function clips the bottom of layer 1 by 100 pixels
function clip1(){
document.layer1.clip.bottom = 100;
}
// End Hide ---> </script> <layer id="layer1" width=200 ... |
Read now
Unlock full access