PDA

View Full Version : IE Image Toolbar



cindirob
07-01-2005, 05:07 PM
How can I disable the IE Image Toolbar that comes in IE. I have a page that I don't want people to be able to right click and save but that stupid image toolbar thing keeps coming up...any suggestions??

Thanks
Cindi

here is the link to my page
http://www.kraftykreations.us/

when you click on samples is where my problem is

cr3ative
07-02-2005, 06:46 AM
Put this in your HEAD section:

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

cr3ative

cindirob
07-06-2005, 06:02 PM
thank you for the help I found the script on DD

NGJ
10-10-2005, 04:17 PM
Thanks all! - Just found it after I posted the message.... Cheers.

Wedgy
11-04-2005, 02:44 AM
How can I disable the IE Image Toolbar that comes in IE. I have a page that I don't want people to be able to right click and save but that stupid image toolbar thing keeps coming up...any suggestions??

Thanks
Cindi

here is the link to my page
http://www.kraftykreations.us/

when you click on samples is where my problem is

I don't think the suggestions in the replies actually stop people from right-clicking and copying pictures. You can disable IE by having a popup window show up when they right-click, but in Firefox this doesn't stop them from getting to a 'save menu'.


For IE put this in a file called copyright.js:



// copyright notice script
var message="Copyright 2000,2001,2002,2003,2004,2005 by (your company name here). WARNING! All content on this site is protected by copyright laws. Unauthorized use of our material is strictly prohibited.";

function click(e) {
if (document.all) {if (event.button==2||event.button==3)
{ alert(message); return false;}}
if (document.layers) {if (e.which == 3) { alert(message); return false;}}
}// --------- end function

if (document.layers) { document.captureEvents(Event.MOUSEDOWN);}
document.onmousedown=click;
//


Then hook it into your webpage HEAD section like this:


<!--================= COPYRIGHT NOTICE =====-->
<script language="javascript" src="copyright.js"></script>