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 |
Prev | Home | Next |
MouseEvent.relatedTarget | Up | MouseEvent.screenY |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |