Trying to achieve any moving effect while appending an element from one to another with jQuery or jQuery-UI.
<div id='div1'><div id='i-am-moving-slow'></div></div>
<div id='div2'></div>
$('#i-am-moving-slow').appendTo('#div2');
Please help. Thanks.
You could append a clone of the element to the new spot, but keep it hidden. Animate the original element into the new spot, then remove the old element, and show the new one.
I made a plugin to do this. Try this:
DEMO: http://jsfiddle.net/5936t/36/