Event.layerX (Property)

The X coordinate of the event within a layer.


JavaScript - 1.2
Netscape - 4.0
Property/method value type:Number primitive
JavaScript syntax:NmyEvent.layerX

In Netscape, mouse positions are available within a layer object. These may not be the same positions as the mouse coordinates within a window. This is because a layer may have been scrolled with respect to the window. Nevertheless if you are working on the layer, you need coordinates that are relative to your target to save having to compute them.


See also:Event.layerY

Property attributes: