Event.y (Property)

The Y coordinate of the event within a positioned object.

Availability:

JavaScript - 1.2
JScript - 3.0
Internet Explorer - 4.0
Netscape - 4.0
Property/method value type:Number primitive
JavaScript syntax:-myEvent.y

When this event is passed with a resize event in Netscape, this property indicates the height of the object having been resized.

Otherwise, in Netscape, it indicates the vertical position of the mouse pointer measured relative to the layer in which the event occurred.

In MSIE, it indicates the vertical position of the mouse pointer, measured relative to the parent element.

Property attributes:

ReadOnly.