Saturday, June 29, 2013

Saving draggable object locations

Recently I've been interested in creating diagrams using HTML, CSS, and JavaScript. I started out trying to do this with draggable shapes using Canvas. I decided to ditch Canvas because I could not find a way to save the shape locations. So, in this version I settled on jQuery UI to save my shape locations using the localStorage API. View the app and get the source code

Will this work in IE8? No, you will get the following error in IE8 because localStorage is not supported.

Will this work in IE9? No, you will get the following error:

No comments:

Post a Comment