Event.layerY (Property)

The Y coordinate of the event within a layer.

Availability:

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

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.

Warnings:

See also:Event.layerX

Property attributes:

ReadOnly.