alexiworld
06-20-2004, 07:44 AM
I have two frames. The second frame is capturing all mouse up events. There are also link and text in span which both capture mouse down event and return 'false' in order to prevent drag and drop or text selection in Netscape/Mozilla.
So I press mouse down over link or text into the second, move cursor over the first and release mouse up. No event for mouse up triggers into second frame. If I make the same thing starting with mouse down from any text or any other point in the second frame the event for mouse up is triggered and I capture it successfully.
Why Mozilla acts in this way? Any ideas? Actually what I am trying to do is to realize my own drag and drop from second frame to the first. Of course I need frames because the second frame can load any URL at any time while at the same time the content of first remains unchanged.
Regards, Alexi
PS: Exampe of span
<span ID="myspan" onmousedown="return false;">some text</span>
So I press mouse down over link or text into the second, move cursor over the first and release mouse up. No event for mouse up triggers into second frame. If I make the same thing starting with mouse down from any text or any other point in the second frame the event for mouse up is triggered and I capture it successfully.
Why Mozilla acts in this way? Any ideas? Actually what I am trying to do is to realize my own drag and drop from second frame to the first. Of course I need frames because the second frame can load any URL at any time while at the same time the content of first remains unchanged.
Regards, Alexi
PS: Exampe of span
<span ID="myspan" onmousedown="return false;">some text</span>