Removal of Right click

M

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.
 
M

mkstock

mkstock said:
*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.
 
S

Steve H

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.
 
T

Tom Pepper Willett

How do I stop people from downloading my graphics or code?

http://www.digitalmidget.com/help/noclick/

http://www.jamesshuggins.com/h/web1/how_do_i_stop_downloading.htm

http://www.jimcoaddins.com/protect.htm
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
|
| 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
|
 
K

Kevin Spencer

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.
 
P

P@tty Ayers

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top