Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Publisher / Web Design / August 2005

Tip: Looking for answers? Try searching our database.

turn off right mouse click

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
disabling the right mouse click function - 03 Aug 2005 13:01 GMT
i wish to turn off right click on my website so no one can copy and steal my
graphics or my pictures i have seen it on other websites where the right
click button on the mouse has been disabled anyone know how it is done please
DavidF - 04 Aug 2005 00:58 GMT
I will paste a script below, but hope you realize that disabling right click
will not prevent someone from 'stealing' your photos. The have a copy in
there internet temp folders after loading your page. If you post it on the
web, it can be copied. With that said, here is some script (and I found it
by googling for it, by the way):

<script language=JavaScript>
<!--

//Disable right click script III- By Renigade (renigade@mediaone.net)
//For full source code, visit http://www.dynamicdrive.com

var message="";
///////////////////////////////////
function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")
// -->
</script>

DavidF

> i wish to turn off right click on my website so no one can copy and steal my
> graphics or my pictures i have seen it on other websites where the right
> click button on the mouse has been disabled anyone know how it is done please
DavidF - 04 Aug 2005 01:15 GMT
Oh...and by the way, if you are using Pub 2003, then the right click option
is already disabled by default.

DavidF

> i wish to turn off right click on my website so no one can copy and steal my
> graphics or my pictures i have seen it on other websites where the right
> click button on the mouse has been disabled anyone know how it is done please

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.