homepage Welcome to WebmasterWorld Guest from 54.205.247.203
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
disable right clicking? disable image toolbar?
sai digitalle




msg:589287
 11:48 pm on Nov 11, 2004 (gmt 0)

1. How does one go about disabling right clicking on a website?
2. Another feature i'd like to disable is the little options bar that appears when the cursor is over a picture (the option bar that has the print, save, e-mail icons in it?

Thanks fellas, and ladies- if any.
Sai Digitalle

 

tedster




msg:589288
 12:24 am on Nov 12, 2004 (gmt 0)

Here's a post with all the details about turning off IE's imagetoolbar:
[webmasterworld.com...]

When it comes to turning off right click - there you are messing with something much more primary than some invasive thingie that Redmond decided people might want. The disabling can be done with javascript (see link below), but if you are creating a website for the general public, I heartily encourgae you NOT to disable right click.

Many people (including me) use right click all the time as they browse. If you turn it off for me, I will leave and never again visit your pages. And it does not protect your materials from anyone but the most casual and poorly informed of thieves.

Here is one of several hundred threads on WebmasterWorld about the right click issue:
[webmasterworld.com...]

[edited by: tedster at 12:26 am (utc) on Nov. 12, 2004]

The Grizzler




msg:589289
 12:25 am on Nov 12, 2004 (gmt 0)

Hi Sai, have a look at this thread: [webmasterworld.com...] and [webmasterworld.com...]

As regards the menu bar on images I think this is triggered in IE when images are above a certain size. I wouldn't mind finding out a bit more myself though.

Lance




msg:589290
 12:41 am on Nov 12, 2004 (gmt 0)

I love the "Proxomitron" (popup blocker) feature "Re-enable right click".

As for the image toolbar:

<meta http-equiv="imagetoolbar" content="no" />

DrDoc




msg:589291
 12:48 am on Nov 12, 2004 (gmt 0)

it does not protect your materials from anyone but the most casual and poorly informed of thieves

...which are never out to steal anything in the first place.

If you're interested in permanently disabling right-click or certain key strokes (or even remapping key strokes), that can be done through certain registry changes.

tedster




msg:589292
 1:01 am on Nov 12, 2004 (gmt 0)

For the sake of completeness about controlling Internet Explorer's Image Toolbar:

INDIVIDUAL IMAGES
If you want to turn off Image Toolbar functions for
individual pictures on a Web page, use the following
<img> syntax for the picture:

<img border="0" src="filename" galleryimg="no">
-- or --
<img border="0" src="filename" galleryimg="false">

ENTIRE PAGE
If you want to turn off Image Toolbar functions for
all pictures on a Web page, add the following <meta>
syntax to your Web page:

<meta http-equiv="imagetoolbar" content="no">
-- or --
<meta http-equiv="imagetoolbar" content="false">

MAKING EXCEPTIONS
If you have turned off Image Toolbar functions for
all pictures on a Web page, then you can enable them
for individual pictures by setting the galleryimg
attribute to "yes" or "true", using the following
<img> syntax:

<img border="0" src="filename" galleryimg="yes">
-- or --
<img border="0" src="filename" galleryimg="true">


Saltminer




msg:589293
 12:59 pm on Nov 12, 2004 (gmt 0)


If you're interested in permanently disabling right-click or certain key strokes (or even remapping key strokes), that can be done through certain registry changes.

DrDoc, think about that one for a minute.... Disabling your own right click would be like covering your eyes and thinking no one can see you. :D

IMO turning off right click merely annoys your visitors. It won't stop anyone from stealing from your site. They can just turn off javascript to bypass it, or using a browser like Firefox right clicking can be enabled even if blocked by the site.

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