MouseEvent.screenX (Property)

Mouse position relative to the screen display.


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

You may need to know the position of the mouse relative to the screen display co-ordinates and not the browser window or objects within it. This property provides the horizontal co-ordinate of the mouse within the screen.

See also:Event.screenX

Property attributes: