| Author |
Drag and drop over an iframe
|
Brian Quinn
Ranch Hand
Joined: Dec 23, 2003
Posts: 32
|
|
|
I have two pop-up like panels that I show to a user when the click certain buttons. I have implemented js drag and drop so that they can move these panels as neccessary and they work fine if only one is open. However one of the panels contains and iFrame and when I drag the other panel over it, I lose the mouse events, so the drag stops till I get across the iframe and the dragged panel jumps to where the mouse is. Is there a way to not lose the mouse events ?
|
 |
Niki Nono
Ranch Hand
Joined: Mar 20, 2005
Posts: 256
|
|
since the iframe is a seperate page it wont recognize this pages events. for that i think you will have to call events in that iframe such as on mouse entered and on mouse out on the body of the iframe. but still this would involve some bit of manipulation in passing the values from you page to the iframe and back. try it out.
|
Life called,so here I am.<br />Cheers<br />Niki.:-)
|
 |
 |
|
|
subject: Drag and drop over an iframe
|
|
|