I am using the jQuery UI sortables, but i want them so memorize there dragged postions, so the order of the boxes(stored in a cookie). I am nog jQuery expert so how can this be done in a fast and easy way?
So store and display.
Below the UI code
- $(".sort").sortable({
handle: '.box-header',
placeholder: 'sortHelper',
delay: 250,
cursor: 'move',
revert: true,
opacity: 1.0,
axis: 'y',
forcePlaceholderSize: true
});
The html code
- <ul class="sort">
<li>
<!-- content -->
</li>
<li>
<!-- content -->
</li>
<li>
<!-- content -->
</li>
</ul>