473,386 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Cursor problem

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
4 1287
AricC
1,892 Expert 1GB
This should help.
Dec 10 '06 #2
mybay
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
AricC
1,892 Expert 1GB
Post a link to your page so we can see what kind of behavior your tyring to get.
Dec 11 '06 #4
mybay
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

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

Similar topics

0
by: Prashanth | last post by:
I am getting this error from BEA DB2 Driver in weblogic console. java.sql.SQLException: CURSOR C02 NOT IN A PREPARED STATE java.sql.SQLException: CURSOR C02 NOT IN A PREPARED STATE We keep...
1
by: ilPostino | last post by:
I'm using this function to load a custom cursor from a .cur file; public static extern IntPtr LoadCursorFromFile(String str); It works great but if I popup a ContextMenu or Control like a...
1
by: ilPostino | last post by:
I'm using this function to load a custom cursor from a .cur file; public static extern IntPtr LoadCursorFromFile(String str); It works great but if I popup a ContextMenu or Control like a...
1
by: ilPostino | last post by:
I'm using this function to load a custom cursor from a .cur file; public static extern IntPtr LoadCursorFromFile(String str); It works great but if I popup a ContextMenu or Control like a...
4
by: mike | last post by:
I have the opportunity to rescue a project that uses a mouse to sense the relative position of a machine. The hardware is built...just needs to be programmed. Stop snickering!!! I didn't do it...I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.