Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

Enable Right Click on Logo



2:39 pm on Nov 28, 2002 (gmt 0)

10+ Year Member


I have added the Disable Right Click script to my web pages but wondered how to "enable" right click for my logo on my links page. I would like to give people the opportunity to copy my logo banner as a link on their site. Is there a way to do this?




3:20 pm on Nov 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

In IE you could cancel the event bubbling

<img src="logo.gif" onmousedown="event.cancelBubble=true" ... >

Not sure about the other browsers without looking it up. I'm sure someone else will be along with the full answer and a paragraph or two disuading you from using that right click script at all. It seems to annoy a lot of web designers (and possibly users) whilst not offering any real level of protection.



3:46 pm on Nov 28, 2002 (gmt 0)

10+ Year Member


Thanks for your comments. The disable right click is for images only on my website. I agree about the level of protection but my use of some of the graphics on my site requires me to have right click disabled. I'll have to try your suggestion!

Happy Holidays,



7:25 pm on Nov 28, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

FYI I could always drag an image onto the address bar (where it will load just the image) then save it from there.

Disabling right click is really useless considering the images are allready cached on my PC when I view the webpage.

But whatever, the average user doesn't know that anyhow.


11:08 pm on Nov 29, 2002 (gmt 0)

10+ Year Member

Hi Mona,

Why don't you just give them the direct URL to the GIF and they can do "save as"?



7:14 am on Dec 1, 2002 (gmt 0)

10+ Year Member

Thanks Jenny,

I changed my links page to so the viewer can do a "save as." I appreciate the tip.



Featured Threads

Hot Threads This Week

Hot Threads This Month