Standard File Drag and drop for The Web
We've all been there, trying to build intuitive UI's for our applications with gestures like DnD (drag and drop) allowing our users to do fun stuff like re-ordering records and uploading files easily. These were actually implemented with hacks and sometimes flash, but we needed something with natural support from the browsers and we are getting very close with the new HTML5 specs.
Gmail started off with the awful
input type="file" "add more" typical solution that we all know and love. Then they added the ability to select multiple files via Flash.... and now they allow the ability to drag and drop files right onto the message compose using HTML5 standards.
I just hope that the adoption of HTML5 will the smooth and fast, so we can really strat building cool apps with less strees. You may find out your browsers support for the HTML5 specs here
Want to do it too? Check out the APIs and how you can do it all, including showing the thumbnails.