DEMOS / Sorting

The #sortblock{} and #sortitem{} elements allow you to specify elements that should be sortable.

Both the block and the items themselves can have an associated tag. When a sort event occurs on the page, Nitrogen posts back the tags in their new sorted order.

View Module Source

Block 1

Item1
Item2
Item3
Item4

Block 2

Item5
Item6
Item7
Item8
Copyright © 2008-2014 Nitrogen Web Framework. Released under the MIT License.