jQuery UI Sortable Example

This example saves the position of the containers below. It also saves wether they are open or closed. If you refresh the page they will stay the same.

You must provide write access for this example to work locally.

CloseDIV 1

div 1 content

CloseDIV 3

div 3 content

CloseDIV 2

div 2 content

Positions:

{"1":["div1",""],"2":["div3","div2"]}

Status (open or closed):

{"div2":"open","div1":"open","div3":"open","div4":"closed"}

http://blog.macaoidh.name