r52lanc said:Hello TCC!
Here is the code that I use in pbase. Just paste the code into the tech notes on the edit photo page. Also, you can use the tech notes batch update function on the edit gallery page. You can change the message - notice it appears in 2 places in the code!
Code:<script language="JavaScript"> <!-- function click(e) { if (document.all) { if (event.button == 2) { alert("please do not right-click"); return false; } } if (document.layers) { if (e.which == 3) { alert("please do not right-click"); return false; } } } if (document.layers) { document.captureEvents(Event.MOUSEDOWN); } document.onmousedown=click; // --> </script>
The code is targetting at those using Internet Explorer. Those who used Mozilla Firefox, Netscape, etc will not be able to use this code fully. You can still download the images using the Firefox, Netscape, etc
Try this code
http://www.dynamicdrive.com/dynamicindex9/noright.htm
Note: Apart from right clicking and saving, there is a still other method(found in toolbar) that you can leech the images even you disable the right click.
There always ways to beat the system..... Be it flash, right clicking or etc. It minimize your damages and it not full proof, those tech-savvy person will have their own methods to do so :devil:
Cheers!!