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'.
精彩评论