How to get cursor to change before mouse moves when changing the cursor style dynamically
Posted
by mikelikespie
on Stack Overflow
See other posts from Stack Overflow
or by mikelikespie
Published on 2009-11-17T22:37:10Z
Indexed on
2010/03/08
16:06 UTC
Read the original article
Hit count: 689
JavaScript
|css
I'm changing my cursor dynamically by setting node.style.cursor = 'foo' when an item becomes selected. It seems that my cursor doesn't change until the mouse moves a pixel.
Is there a way to tell the browser to change it immediately?
© Stack Overflow or respective owner