Drag n Drop - Save with Cookie (Scriptaculous)
I make a drag n drop page with scriptaculous. i'd like to save the
pozitions with cookie.
Thanks a lot
Re: Drag n Drop - Save with Cookie (Scriptaculous)
You have to write a callback function for the event onUpdate, to save the changes to a cookie, and then use Sortable.setSequence ('sortme',Sortable.sequence('sortme').sort()); to set the order next time the page loads.
|All times are GMT +5.5. The time now is 13:43.|