The problem is that the drag and dragover functions work correctly, but
the browser takes over the drop and puts my data into the URL bar. I
actually don't need to transfer any data -- I just need to get the mouse
coordinates of the place where the dragged window is dropped. But if I
don't transfer any data, the drag doesn't happen. I put in dummy data, and
my onDrop handler never gets called, so that I can't get the final the mouse
coordinates. I have put (event.preventDefault()) into my onDrop handler,
but that doesn't seem to work.
I''m thinking about giving up on drag and drop, and implementing my own
using mouse events. But I'd like to have the nice drag image capability
that drag and drop provides. I'd be grateful for any help.
Thanks.
Susan
Dragging windows around should just be done with the <titlebar> element.
"Neil Deakin" <ennd...@sympatico.ca> wrote in message
news:oPydnXVE_fbOCGXX...@mozilla.org...
No, I meant you should add a <titlebar> element yourself. It doesn't
have to look like one though.
You certainly shouldn't be using the drag and drop api for this.
Susan
"Neil Deakin" <ennd...@sympatico.ca> wrote in message
news:EOydnaXhZrjU9GTX...@mozilla.org...