469,898 Members | 1,753 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,898 developers. It's quick & easy.

Drag & drop between IFRAMEs / Firefox

What am trying to achieve is dragging an element from one IFRAME/FRAME into another IFRAME/FRAME. But upon dropping the element, I do not want the target IFRAME/FRAME to open/load it. I want to set the data type to "text" at the source, so that the drop operation simply drops a set text string onto a target text entry field.

Under IE, when dragging an object, it is possible to catch the “dataTransfer.setData” event to set up the data to be of 'text' type during the drag. Unfortunately, I wasn't able to find the equivalent in Firefox ...

Is there any way Firefox will implement similar drag'n'drop behavior that works across IFRAME/FRAMEs? To clarify, today I can select text on a Firefox page then drag & drop into any text field: I need to be able drag & drop an object that is not selectable text and cause a text string to be dropped on the target text field.

This is really important for us, and we are more than happy to compensate someone for his time to help out code this if complex ...

Mar 1 '08 #1
1 3302
16,027 Expert Mod 8TB
What kind of objects are you dragging/dropping? Can you give one or two examples? Could you also post your code or, better still, link to a test page.
Mar 2 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Ryan Stewart | last post: by
6 posts views Thread by hemant_mishal | last post: by
6 posts views Thread by jojobar | last post: by
3 posts views Thread by VB Programmer | last post: by
8 posts views Thread by ericgorr | last post: by
2 posts views Thread by sebastian.janoschka | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.