开发者

jQuery UI Drag 'n' Drop Ghosting Effect

开发者 https://www.devze.com 2023-03-31 04:21 出处:网络
I\'m trying to mimic the \"ghosting\" functionality fro开发者_如何学运维m Scriptaculous with jQuery UI. I\'ve found the demo and could get DnD working, but the option to ghost an item as it\'s being d

I'm trying to mimic the "ghosting" functionality fro开发者_如何学运维m Scriptaculous with jQuery UI. I've found the demo and could get DnD working, but the option to ghost an item as it's being dragged seems to be missing.

All this does is: When you drag an item, it remains in place until dropped but you get a semi-transparent copy which follows the mouse.

Is this possible with jQuery?


Yes, look at this demo : http://jqueryui.com/demos/draggable/#visual-feedback

I think the one you need is the semi-transparent clone.

The draggable UI property involved is 'helper'.

0

精彩评论

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