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

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -