Event.clientX (Property)

MSIE mouse position relative to the web page.


JScript - 3.0
Internet Explorer - 4.0
Opera - 5.0
Property/method value type:Number primitive
JavaScript syntax:IEmyEvent.clientX

This is the horizontal 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.

DOM level 2 event handling moves this property to the MouseEvent object.

See also:Event.clientY, Event.pageX, Event.pageY, Event.screenX, Event.screenY, MouseEvent.clientX

Property attributes: