homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

Enable Right Click on Logo

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


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)

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)


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)

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)

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)

Thanks Jenny,

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


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved