| Author |
Removal of Right click
|
|
| mkstock 2005-03-21, 9:45 am |
| I wish to remove the ability to right click on my pictures page in Frontpage. I'm not sure if it's been posted before, but the search comes up with too many topics. | |
| mkstock 2005-03-21, 9:59 am |
| quote: Originally posted by mkstock
I wish to remove the ability to right click on my pictures page in Frontpage. I'm not sure if it's been posted before, but the search comes up with too many topics.
I should probably clarify that this is Microsoft Frontpage. | |
| Steve H 2005-03-21, 11:20 pm |
| You can use this code:
Put the following script in the head of your page:
<script language="Javascript1.2">
// (C) 2003 CodeLifter.com
// Source: CodeLifter.com
// Do not remove this header
// Set the message for the alert box
am = "This function is disabled!";
// do not edit below this line
// ===========================
bV = parseInt(navigator.appVersion)
bNS = navigator.appName=="Netscape"
bIE = navigator.appName=="Microsoft Internet Explorer"
function nrc(e) {
if (bNS && e.which > 1){
alert(am)
return false
} else if (bIE && (event.button >1)) {
alert(am)
return false;
}
}
document.onmousedown = nrc;
if (document.layers) window.captureEvents(Event.MOUSEDOWN);
if (bNS && bV<5) window.onmousedown = nrc;
</script>
However, it is not foolproof. I can get around the no
right-click feature if you put it on your site.
>-----Original Message-----
>
>mkstock wrote:
pictures page in[color=darkred]
the search[color=darkred]
>
>
>
>I should probably clarify that this is Microsoft Frontpage.
>
>
>
>--
>mkstock
>------------------------------------------------------------------------
>Posted via http://www.forum4designers.com
>------------------------------------------------------------------------
>View this thread:
http://www.forum4designers.com/message201105.html
>
>.
>
| |
|
|
| Kevin Spencer 2005-03-22, 6:35 pm |
| Tie your middle finger to your thumb. You won't be able to right-click a
thing!
--
;-),
Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
"mkstock" <mkstock.1m9o9c@mail.forum4designers.com> wrote in message
news:mkstock.1m9o9c@mail.forum4designers.com...
>
> I wish to remove the ability to right click on my pictures page in
> Frontpage. I'm not sure if it's been posted before, but the search
> comes up with too many topics.
>
>
>
> --
> mkstock
> ------------------------------------------------------------------------
> Posted via http://www.forum4designers.com
> ------------------------------------------------------------------------
> View this thread: http://www.forum4designers.com/message201105.html
>
| |
| P@tty Ayers 2005-03-25, 6:33 pm |
|
> I wish to remove the ability to right click on my pictures page in
> Frontpage. I'm not sure if it's been posted before, but the search
> comes up with too many topics.
If what you're after is preventing people from downloading your images, it
can't be done. By the time someone views your image over the internet, it's
been downloaded to their hard drive. There are ways of getting around any
script or trick you try to use to stop them.
Your best bet is probably to watermark the images.
--
Patty Ayers | www.WebDevBiz.com
Free Articles on the Business of Web Development
Web Design Contract, Estimate Request Form, Estimate Worksheet
--
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |