views:

33

answers:

1

Is there a widget or a gem which implements this feature? It works only in Chrome and Firefox but it is very cool and no plugins are needed

http://gmailblog.blogspot.com/2010/04/drag-and-drop-attachments-onto-messages.html

Or which would be the best practises to implement it?

A: 

You shouldn't need a plugin, gem or widget to do something like this in supported browsers (Gmail now supports this functionality in Safari, btw) since it's part of the HTML5 API. More on this here and here. Additionally, a quick search for something like "gmail attachment html5" should give you lots of relevant stuff (though I haven't tried).

Rob Wilkerson