|
Text
|
 |
|
 |
|
| Author |
Message |
Symon
Guide Legend



Joined: 11 Jun 2006
Posts: 909
Location: Hampshire,England

Add Comment
Show Comments
|
Posted: Wed Jul 05, 2006 8:38 pm |
 |
|
If for some reason you want to stop people form using the right click feature and bar them from copying photos etc you can use this code.
You have to place this code in overall_header.tpl
<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>
|
|
| |
|
 |
|
|
|
 |
|
 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
HOWTODOIT was designed and built by Symon Field Creator Of ☆ ☆ FunnyWorld ☆
HOWTODOIT© Symon Field 2006,2007,2008 Powered by phpBB Group © 2001,2005.
|
|
|
|