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

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -