JQuery sortable lists and fixed/locked items
Here’s a hopefully bug-free version, updating as you drag. It’s generating the current desired positions of the items when sorting starts, which means you should be able to change the classes whenever you need, refresh the widget’s list items and you’re good to go. It also uses the sortable’s built-in items property to prevent dragging … Read more