Plugins

The plugins site is currently in development.

We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.

SelSo - a Selection Sorter


Let's say you have a set of items you want to sort in a different order dynamically on the client, but you can not use the tablesorter plugin, because you can not put the data in a table.

That's what you will do with this plugin.

It's as simple as $('myselection').selso(options), with options = { type:'alpha',orderBy:'span.alpha'}. This means the plugin will look for the span.alpha elements within your selection, and sort the selection according to what is inside the span.alpha.

The selected elements will be sorted within their own parent. Which means if you have two lists, and you select all the li's, both lists will be sorted independently.

Downloads



5
Your rating: None Average: 5 (2 votes)