Fx.Sort
I got a little bored last night and banged this out. A little 2K effect for resorting elements with an effect. More info in the wiki, download in the svn.
- (0) stuff
- (1) more stuff
really - (2) still more stuff
- (3) loads o stuff
- (4) blah
blah
blah
one
two
three
four
five
forward | backward | 3,4,2,0,1 | 2,3,0,1,4
:
:
In addition to specifying a new order using numbers, there are some other methods.
JavaScript:
vert.reverse(); //reverses the current order
vert.reverse(); //reverses the current order

Finally, you can sort a list and then rearrange the DOM so that the new sort is reflected in the body of the document.
JavaScript:
vert.backward().chain(vert.rearrangeDOM.bind(vert));
vert.backward().chain(vert.rearrangeDOM.bind(vert));


[...] http://clientside.cnet.com/code-snippets/visual-effects/fxsort/ [...]
[...] On Sep 14, 3:12 pm, Peter De Berdt wrote: > On 14 Sep 2007, at 19:07, meekish wrote: > > >http://clientside.cnet.com/code-snippets/visual-effects/fxsort/ > > > Has anything similar been created for Scriptaculous? > > Let’s hope someone has done it decently then, this one doesn’t work > in Safari > > Best regards > > Peter De Berdt [...]
[...] On Sep 14, 3:12 pm, Peter De Berdt <peter.de.be…@…> wrote: > On 14 Sep 2007, at 19:07, meekish wrote: > > >http://clientside.cnet.com/code-snippets/visual-effects/fxsort/ > > > Has anything similar been created for Scriptaculous? > > Let’s hope someone has done it decently then, this one doesn’t work > in Safari > > Best regards > > Peter De Berdt [...]