|
-
Aug 29th, 2000, 04:04 AM
#1
Thread Starter
New Member
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
-
Aug 31st, 2000, 11:31 PM
#2
Lively Member
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|