FireFox - How to disable a frame page from changing location when an image is dragged on to it?

D

deja

I have a frameset like this:

<FRAMESET cols="25%,75%">
<FRAME src="page1.html" name="directory">
<FRAME src="page2.html" name="display">
</FRAMESET>

page2.html has an image like this:

<img src="test.gif">


In Firefox, if I drag the image from the right pane to the left the
browser navigates to the image (and the frames are lost).

Is there anyway to disable this? I need to take other action on the
dragdrop event in the left pane without have the page navigate to the
dropped image.

Regards
 
J

Joshie Surber

Nothing reliable you can do, no. Perhaps you could have the right frame
check on the left frame using setTimeout, and if it is an image tell it
to history.back() but I don't know if this is much better than the
problem.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top