
Originally Posted by
cindirob
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:
Code:
// 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:
Code:
<!--================= COPYRIGHT NOTICE =====-->
<script language="javascript" src="copyright.js"></script>
Bookmarks