MouseEvent.clientY (Property)

Mouse position relative to the web page.

Availability:

DOM level - 2
JavaScript - 1.5
Netscape - 6.0
Property/method value type:Number primitive
JavaScript syntax:NmyMouseEvent.clientY

This is the vertical position of the mouse when the event was triggered. The position is calculated relative to the visible document area within the window or frame the mouse was positioned in when the event triggered.

See also:Event.clientY

Property attributes:

ReadOnly.