开发者

Dragging anchors with jQuery : IE not updating cursor

开发者 https://www.devze.com 2023-02-10 07:48 出处:网络
Ever noticed that if you make an anchor () draggable using jQuery and you set to have a certain cursor to be displayed, IE keeps the pointer displayed regardless of your selection. See the sample code

Ever noticed that if you make an anchor () draggable using jQuery and you set to have a certain cursor to be displayed, IE keeps the pointer displayed regardless of your selection. See the sample code below:

$("a, div").draggable({ helper: "clone", cursor: "move" });

It seems like IE kee开发者_开发问答ps the cursor style as at the time of the 'mousedown', until the button is released. All other browsers honor the cursor style.

Anybody have an idea how to ensure the cursor style while dragging anchors?


Try giving <body> a cursor untill mouseup? i know i might be a lame solution. But it could work...

0

精彩评论

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