[jquery-ui] Re: Help swapping list elements

2009-04-21 Thread Joe
I'm not really familiar with sortable, but I know you could write draggable and droppable handlers to do what you want. Looking at the sortable docs though, you might simply be able to override the events for sortable, to swap the items (and maybe swap them back first) when sorting. I don'

[jquery-ui] Re: Help swapping list elements

2009-04-21 Thread Fontzter
Sorry, but your requirements are unclear to me. Are you saying that you want the list sorted in descending order whenever the top item is not the first in ascending order? Also, when you say "dragging element (a) and dropping over (c)" do you mean above or below (c) or doesn't it matter? On Apr