(before it, you can see my website;
http://forum.davutpasha.com, ideas is this; "members able to right-click but unregistereds unable to right-cick")
you can do this exactly, here is some examples;
Open your header template, and add this code where do you want;
ADMINS CAN ABLE TO RIGHT-CLICK BUT MEMBERS ARE UNABLE;
PHP Code:
<if condition="$show['admincplink']">
<!-- RIGHT-CLICK IS ACTIVATED -->
<else />
<BODY onselectstart="return false" ondragstart="return false">
<SCRIPT language=JavaScript>
function openWin( windowURL, windowName, windowFeatures )
{ window.open( windowURL, windowName, windowFeatures ) ; }
</SCRIPT>
<script language=JavaScript>
<!--
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>
</if>
MEMBERS ABLE RIGHT-CLICK BUT UNREGISTEREDS UNABLE;
PHP Code:
<if condition="$show['guest']">
<BODY onselectstart="return false" ondragstart="return false">
<SCRIPT language=JavaScript>
function openWin( windowURL, windowName, windowFeatures )
{ window.open( windowURL, windowName, windowFeatures ) ; }
</SCRIPT>
<script language=JavaScript>
<!--
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>
</if>
I hope, you will do this, if you don't you can ask, feel to free.
Caw..