2 questions about drag and drop with Javascript

Posted by David on Stack Overflow See other posts from Stack Overflow or by David
Published on 2009-07-10T21:38:19Z Indexed on 2010/03/26 5:03 UTC
Read the original article Hit count: 497

Filed under:
|

Hello,

I'm trying to be able to drag random highlighted text or images on a random page that is not written by me, thus I cannot simply wrap the text in a div and make it draggable.

Is there any way to get highlighted text or images on a random page, like say Yahoo, and drop it into a container that can recognize what was being dropped into it (like content and content-type) without it even being an explicitly declared draggable?

I've been playing with jQuery, but can't figure it out.

Any help would be greatly appreciated.

Regards, David

© Stack Overflow or respective owner

Related posts about drag-and-drop

Related posts about JavaScript