开发者

js/css changing cursor

I'm using css/js to change the class of an element which the pointer is hoving over. The开发者_开发问答 class determines the custom cursor image.

Unfortunately, it seems as if the cursor does not update in Chrome unless I physically move the mouse. Unfortunately the app is primarily used through the keyboard, however the cursor image is pretty important.

Any way around this?

Thanks.


This is actually a documented bug in Chrome and Safari. See this question on StackOverflow:

Getting the browser cursor from "wait" to "auto" without the user moving the mouse

I think you're out of luck for now, sorry

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜