Forum Moderators: open

Message Too Old, No Replies

Disabling right mouse button when using frames

Disabling right mouse button when using frames

         

pmarcj

2:38 am on Jul 10, 2003 (gmt 0)

10+ Year Member



Is there a way to do this?.
I have a frame as follows:

Left upper frame called pagelist
Left lower frame called page
Right frame called body

The code I have used works on the thumbnail images in the lower left frame, but not for the large image
in the right side.

Not sure if this is even possible.

tedster

3:16 am on Jul 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are you actually calling the code (javascript I assume) on each of the frame pages where you want it to work? I can't see any reason that it shouldn't function as you want if you run the js in each frame.

Whether it's very effective is a different story -- many threads here talk about the fact that disabling right click 1) upsets your visitors and 2) doesn't really protect your images.

Duckula

4:28 am on Jul 10, 2003 (gmt 0)

10+ Year Member



and c) I use right click everytime I find a framed site because of "this frame->show only this frame" on Mozilla. Double nuisance.