can anybody tell me how to center the mouse cursor in the center of the IE5 window, document, frame whatever. as far as i can tell all the event objects for the mouse are read only. can anybody confirm this or offer a solution?
thanks
Printable View
can anybody tell me how to center the mouse cursor in the center of the IE5 window, document, frame whatever. as far as i can tell all the event objects for the mouse are read only. can anybody confirm this or offer a solution?
thanks
this is from the script reference guide at Netscape
http://developer.netscape.com/docs/i...l?cp=dev01tdoc
screenX
Number specifying the cursor's horizontal position in pixels, relative to the screen.Property of event
Implemented in JavaScript 1.2
Security
Setting this property requires the UniversalBrowserWrite privilege. For information on security, see the Client-Side JavaScript Guide.
See also event.screenY
--------------------------------------------------------------------------------
screenY
Number specifying the cursor's vertical position in pixels, relative to the screen.Property of event
Implemented in JavaScript 1.2
Security
Setting this property requires the UniversalBrowserWrite privilege. For information on security, see the Client-Side JavaScript Guide.
See also event.screenX