Is it possible to set the mouse position in javascript?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hdanw
    New Member
    • Feb 2008
    • 61

    Is it possible to set the mouse position in javascript?

    My appologies if this sounds stupid, I wish I had a "Comprehens ive" reference for javascript. I'm not sure one exists.

    I would like to develop a web application that has a learning mode, in which the user is walked through using the site.

    I would like to Present information, then reposition the mouse by gradually moving it to a new position, that of a link for example, and then simulate a button click, or tool selection.

    I haven't had much luck finding any info on the subject, a definative "Can't be done" would suffice. But no information usually indicates that I haven't looked hard enough.


    Thanks,

    Dan -
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5388

    #2
    hi ...

    i think there is no way to set! the mousepointers position with javascript ... a page would gain control over your inputdevice and you wouldn't be able to do something :) ... but: you may track the mouseposition and you could move elements to that position ... or just use the focus()-method and some css to focus the node and highlight it in some way ...

    kind regards

    Comment

    • hdanw
      New Member
      • Feb 2008
      • 61

      #3
      Is there a way to hide the mouse?


      Then I could use a mouse shaped bitmap instead.


      I notice that sometimes it dis appears.

      LIke maybe select a mouse cursor that is completely see through?

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

        #4
        I've never tried, but you could try adapting something like this.

        Comment

        • hueseyin
          New Member
          • Apr 2014
          • 1

          #5
          you can see this link, simulation is possible http://www.bayersoft.com/aCloud/Ancy...e/default.html

          Comment

          Working...