views:

483

answers:

2

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.

A: 

Nevermind, I found the portlets demo, all works fine.

James Brooks
+1  A: 

The jQuery UI Sortable plugin should do what you want. The example uses divs, but it should work on any type of DOM element.

Robert Harvey
I found the answer just, thank, so 1+
James Brooks