Javascript Reference
Categories: layer

javascript layer clip

@March 15, 2008, 1:22 a.m.
clipNN |4| IE n/a Chrome/Safari/DOM n/a  

Read/Write  

Defines a clipping region of a positionable element. This property is treated more like an object in itself, in that you adjust its values through six properties: clip.top, clip.left, clip.bottom, clip.right, clip.width, and clip.height. Adjust the side(s) or dimension(s) of your choice. All values represent pixel values.

 
Example
 
document.myIlayer.clip.width = 150;
 
Value

Integer.

 
Default

None.


Powered by Linode.