Drag ‘n Drop with Google Gears
A lot of people saw the cool drag ‘n drop features on the Google Wave demonstration a few weeks ago and started wondering how to create that stuff yourselves. Being in the middle of my work on Imager Gallery.Net I was really excited about it and started looking at it. There are a few samples out there but some doesn’t work and one was even obfuscated. I’ve assembled the following sample which just takes the dropped file and shows a thumbnail (if an image, a generic icon else) of it. Later on it will be extended to upload files aswell and if successful also rewritten as a jQuery plugin. The current sample works with IE and Firefox with Google Gears 0.5.32 installed.
http://blog.crazybeavers.se/wp-content/demos/Google.Gears/drop.html
Recent Comments