Monday, August 26, 2013

TSH Google+ page: https://plus.google.com/u/0/b/105851360618149723506/ TSH Channel: http://www.youtube.com/user/TheSharePointHelper/featured TSH Page: https://plus.google.com/u/0/b/105851360618149723506/105851360618149723506/videos TSH Your Pages:

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:







Thursday, May 23, 2013