Cursor problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mybay
    New Member
    • Dec 2006
    • 7

    Cursor problem

    Hi guys,

    I have a problem with the cursor, in particular I'd like to change it at a certain time.
    I have a simple html page where I move a div depending on the mouse movement. I get mouse x coords by window.event.cl ientX and set the div.style.left value. Everything works perfectly, but on some slower computers it seems to be too much and the motion is a bit choppy, which I dont mind. What I do mind is while its "thinking" it displays the progress cursor momentarely (the arrow with mini hour glass), and while you move the mouse it happens every pixel so the effect is rather distracting blinking from original cursor to the progress and back.

    I have tryed setting the body.style.curs or to arrow, to capture events, change default behaviours, even replacing cursor icons but nothing seems to work.

    Please help, thank you.
  • AricC
    Recognized Expert Top Contributor
    • Oct 2006
    • 1885

    #2
    This should help.

    Comment

    • mybay
      New Member
      • Dec 2006
      • 7

      #3
      Thank you AricC, but this I have tryed before, the document style setting.
      More then that, the only mouse event that fires during the whole thing is onmousemove.
      What I think I need is a way to either replace the "progress" cursor, since it shows up regardless of anything. If I change it to arrow, the change will still be going on, but I wont see it...

      Comment

      • AricC
        Recognized Expert Top Contributor
        • Oct 2006
        • 1885

        #4
        Post a link to your page so we can see what kind of behavior your tyring to get.

        Comment

        • mybay
          New Member
          • Dec 2006
          • 7

          #5
          Here is the page, I keep testing so it may change sponteneously :)

          http://69.124.68.181:4 44/menutest.asp

          Comment

          Working...