By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,315 Members | 1,736 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,315 IT Pros & Developers. It's quick & easy.

Cursor problem

P: 7
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.clientX 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.cursor to arrow, to capture events, change default behaviours, even replacing cursor icons but nothing seems to work.

Please help, thank you.
Dec 10 '06 #1
Share this Question
Share on Google+
4 Replies


Expert 100+
P: 1,892
This should help.
Dec 10 '06 #2

P: 7
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...
Dec 10 '06 #3

Expert 100+
P: 1,892
Post a link to your page so we can see what kind of behavior your tyring to get.
Dec 11 '06 #4

P: 7
Here is the page, I keep testing so it may change sponteneously :)

http://69.124.68.181:444/menutest.asp
Dec 11 '06 #5

Post your reply

Sign in to post your reply or Sign up for a free account.