javascript - jQuery sortable animate list when removing an element -
how can animate re-shuffling of jquery sortable list when child element removed?
i've created quick example of i'm working with: http://jsfiddle.net/nxbtb/
code used make list sortable / remove items
$("ul").sortable(); $("li").dblclick(function(){ $(this).remove(); });
i other elements animate in new position. there property or function of jquery / jquery ui can hook into?
use animations before removing.
$("ul").sortable(); $("li").dblclick(function(){ $(this).animate({width:"0"},500, function(){$(this).remove();}); });
Comments
Post a Comment