Event JavaScript Tutorial

The layerX property controls the horizontal (x-coordinate) positioning within the layer.


    
    Using the layerX property for the event object
    
    
    
    
    
          Drag the browser border to trigger the resize event