sortables - ghosting
sortables - ghosting
I am trying to achieve the following affect with a sortable list:
- When a user drags an element in a sortable list, a cloned proxy of
the element is dragged around instead of the element itself. In other
words, the clicked-element stays put and a semi-transparent clone of
it is dragged around.
- When the user releases his mouse button, the clone is destroyed and
the clicked-element is moved to the position in the list that the user
released the mouse button at.
I've tried everything I can think of for the past 5 hours to
accomplish this before I came here.
From what I can gather, the sortables "helper" option is supposed to
do this.
I've tried setting the helper option to both 'clone' and
,helper: function(event, element) {
return element.clone();
}
However, neither way works.