Reputation: 16214
I think every one know with gmail attachment uploading with drag drop,
what is the approach to design a thing lyc that ? .. drag and drop a image to a place and it should be uploaded to the server .. any ideas ?
Upvotes: 2
Views: 1770
Reputation: 12851
Are u able to use jQuery ?
see live Demo
Maybe this will help you. However, expect to work only on real browsers (so IE is excluded!)
You can drag & drop files from your desktop on this webpage with Google Chrome, Mozilla Firefox and Apple Safari.
http://aquantum-demo.appspot.com/file-upload
Tested with Firefox 6 well works.
Upvotes: 1
Reputation: 14379
This library provides both drag-and-drop and multi-file select uploads: https://github.com/valums/file-uploader
Upvotes: 1
Reputation: 3228
Its not exactly HTML5 but here is a jQuery plugin that does what you're looking for.
Upvotes: 3