|
Answer» I need to disable right-clicking on my site.
I found this code and it works on everything but where I want it to.
Any SUGGESTIONS?
//starting of JAVA script
var ERR = "Right Click is disabled "; //A simple variable for holding Error Message
function disableRightClick(btnClick) //Function that will execute on right click { if (navigator.appName == "Netscape" && btnClick.which == 3) // Netscape { alert(Err);//Alert for display a message return FALSE; } else if (navigator.appName =="MICROSOFT Internet Explorer" && event.button == 2) // IE { alert(Err); return false; } } document.onmousedown = disableRightClick; // Disable the right click
I want to disable right-click on macromedia.you cannot disable the flash pic....unless you no the a code/script setup!...have alook at the bottom of it......it displays the makers name..... :)when i meant disable it i meant......remove it and replace it with one of your gifs/jpeg/...its looks more professional website.......that way..
|