Event JavaScript Tutorial

The layerY property controls the vertical (y-coordinate) positioning within the layer.
When a window or frame is resized, the new value for the vertical coordinate is stored in the layerY property.


    
    Using the layerY property for the event object
    
    
    
    
    
    Resize the browser to see the result.