Save position of draggable div in a cookie?

Save position of draggable div in a cookie?

Hi all, I found this script online that lets users on an iPhone drag boxes around the screen. The problem is that when you reload the page, the boxes are in different positions than what they were before the reload. Like, you would drag the boxes around and then reload the page, but the boxes would be in the default locations. I want the boxes to stay in the same spot that they were the previous time they moved them. Does that make sense? Anyways, here's the example I found online:

http://www.manifestinteractive.com/iphone/touch/

Only works on iPad/iPhone/iPod Touch. Help is much appreciated :) Thanks!



pxlcreations is offline Add to pxlcreations's Reputation Report Post