![]() | ![]() | ![]() |
| |||||||
| Forums | Register | Groups | Awards | Arcade | Pets | T-Bucks / T-Store | Invite Your Friends | Blogs | Mark Forums Read |
| Web Design Forums and discussions on webdesign |
Web Design | |||||||||
|
|
|
|
| |||||
![]() |
| | LinkBack | Thread Tools |
| | #2 (permalink) |
| Civilians | [This followup was posted to microsoft.public.frontpage and a copy was sent to the cited author.] In article <sa5nk1tjna8oa7blus9bdg33o1r7kkcdj5@4ax.com>, lmphoto@aol.com says... > I post images of weddings on my photography web site using Photoshop > CS2. It, unfortunately, allows copying by right click. How can I > stop this? > ljm > Here are a couple of ways to deal with it. The first is a web site that offers a program that will keep people from stealing your pictures, but allow them to still right click (so they can use other right click options) It's freeware. The other options (kills right clicking) is a script that will stop it. Instructions on the bottom. <SCRIPT LANGUAGE="JavaScript1.1"> <!-- function right(mousebutton) { var msg1 = "Hey!! Look but don't touch!!"; var msg2 = "Isn't this the most annoying script since BLINK?!"; if (navigator.appName == 'Netscape' && mousebutton.which==3) { alert(msg1); return false; } else if (navigator.appName == 'Netscape' && mousebutton.which==1) { alert(msg2); return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && event.button == 2) { alert(msg1); return false; } else if (navigator.appName == 'Microsoft Internet Explorer' && event.button == 2) { alert(msg2); return false; } return true; } document.onmousedown = right; // --> </SCRIPT> ******************************************** This code goes inside the code in your HTML. In the middle of the code you will see a couple lines that look like this: var msg1 = "Hey!! Look but don't touch!!"; var msg2 = "Isn't this the most annoying script since BLINK?!"; This is where you add your own message. Where you see, "Hey!! Look but don't touch!!" and "Isn't this the most annoying script since BLINK?!" you can change the words inside the quotations to whatever you want them to be. This is what people will see in the pop up box when they try to right click on your page. Problem: When I tried this script in Mozilla the popups worked fine but it didn't keep the menu from popping up. People may still be able to right click and double click when using the Mozilla browser. wetink |
|
| | #3 (permalink) |
| Civilians | [This followup was posted to microsoft.public.frontpage and a copy was sent to the cited author.] In article <MPG.1db5839baf32acf9989680@newsgroups.comcast.net >, wetink444@hotmail.com says... > [This followup was posted to microsoft.public.frontpage and a copy was > sent to the cited author.] > > In article <sa5nk1tjna8oa7blus9bdg33o1r7kkcdj5@4ax.com>, lmphoto@aol.com > says... > > I post images of weddings on my photography web site using Photoshop > > CS2. It, unfortunately, allows copying by right click. How can I > > stop this? > > ljm > > > Here are a couple of ways to deal with it. > The first is a web site that offers a program that will keep people from > stealing your pictures, but allow them to still right click (so they can > use other right click options) It's freeware. > > The other options (kills right clicking) is a script that will stop it. > Instructions on the bottom. > > <SCRIPT LANGUAGE="JavaScript1.1"> > <!-- > function right(mousebutton) > { > var msg1 = "Hey!! Look but don't touch!!"; > var msg2 = "Isn't this the most annoying script since BLINK?!"; > > if (navigator.appName == 'Netscape' && mousebutton.which==3) > { > alert(msg1); > return false; > } > else > > if (navigator.appName == 'Netscape' && mousebutton.which==1) > { > alert(msg2); > return false; > } > else > > if (navigator.appName == 'Microsoft Internet Explorer' && event.button > == 2) > { > alert(msg1); > return false; > } > else > > if (navigator.appName == 'Microsoft Internet Explorer' && event.button > == 2) > { Sorry the url for the program is http://www.prenap.com/PictureProtect.asp wetink |
|
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 'Stop, stop shopping' | Snowden | Chit-Chat | 2 | 12-16-2007 17:53 |
| Re: Displaying Images on Mouse Click | leef_me | Microsoft Applications | 2 | 08-08-2005 03:00 |
| P0442 + click,click,click on 2001 Cadillac STS | OCG | Automotive | 3 | 05-31-2005 15:00 |
| How to stop ppt resizing images? | Tumbleweed | Microsoft Applications | 2 | 05-18-2005 15:00 |
| Re: how do you transpose images over existing images? | Sonia | Microsoft Applications | 5 | 03-03-2005 19:00 |
![]() | ![]() | ![]() |