javascript - Animated List Rearrangement (JQuery UI Sortable) -
I'm trying to create an animated list.
Assume that I have selected apple and I I want to switch with the service, I want to click on Apples Cavemen and bannas and cave men have animate to the proper position.
I know that jQuery UI Sortable allows for some level of this functionality, but I'm not sure there is a way to specify something before DOM changes or by cloning a few during breaks.
$ (".selector") .sortable ({change: function (event, ui) {...}});
Is it possible to manipulate sortable
to provide this level of functionality, or would I like to make a plugin better than scratch?
I think this is what you want ...
$ (".selector") .sortable ({start: function (event, UI) {...}});
See this page for more detail:
Comments
Post a Comment