Try this javascript between the <head></head> on your html page.
<SCRIPT TYPE="text/javascript">
<!-- By Mike McGrath mike_mcgrath@lineone.net -->
<!--
-->
/* Insert code between <head></head>*/
/* thewebmasterdirectory.com free java scripts*/
<!--
var msg = "Right-Click Disabled";
if(document.layers) window.captureEvents(Event.MOUSEDOWN);
function no_click(e){
if (navigator.appName == 'Netscape' && ( e.which == 2 || e.which == 3))
{
alert(msg);return false;
}
if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2 || event.button == 3))
{
alert(msg);return false;
}
}
window.onmousedown=no_click;
document.onmousedown=no_click;
//-->
</SCRIPT>
For any one that is going to dig through the cache it won't do much good. But for most users, it will stop them.
Here is another script that says "Not enough system memory to display source/perform graphics save, repeat right-click to delete systems files and free resources for display. Click OK to abort file deletion."
This goes in the <head></head> section too.
<script language="JavaScript">
function noRightClick(evnt) {
errMsg="Not enough system memory to display source/perform graphics save, repeat right-click to delete systems files and free resources for display. Click OK to abort file deletion."
if (navigator.appName.toUpperCase().match(/NETSCAPE/) != null) {
if (evnt.which == 3){alert(errMsg);return false;}}else
if (event.button==2)alert(errMsg);}
document.onmousedown=noRightClick;
</script>
But if you *hold down the left mouse button before a right mouse click, you can bring up the menu.
I collect stuff like this and make simple html files in notepad and then test them with a browser. Some of the things I find are really funny... some are pretty useful. I am starting to get a collection of small html pages on my local drive that I can test in Netscape or IE and when I need something for a client, I've got a working example.
Hope this helps, it may keep some from saving graphics
Jim