Is it possible to sort div layers? Examples only show list items being sorted.
I currently use one function to control dynamically created divs (based on a MySQL result). This one function keeps the movable layers in one div.
Is it possible to sort div layers? Examples only show list items being sorted.
I currently use one function to control dynamically created divs (based on a MySQL result). This one function keeps the movable layers in one div.
The jQuery UI Sortable plugin should do what you want. The example uses divs, but it should work on any type of DOM element.