Results 1 to 2 of 2

Thread: how do i center the mouse cursor with vbs or js

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Location
    South Africa
    Posts
    13
    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
    Stefan SA

  2. #2
    Lively Member
    Join Date
    Aug 2000
    Posts
    125
    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
  •  



Click Here to Expand Forum to Full Width