Hello,
I was checking out your disable right click on images only and it failed. Not literally, but I have the picture. When I right clicked, the disable message appeared. When I clicked ok, my right click menu appeared. I clicked save image and there it was, on my desktop. I am using mozilla.
Hello,
Well I came, posted, and have 50+ views and not a single response. That says a lot about a forum, so this is my last visit. Seems your forum is about as good as that code that didn't work.
Well I came, posted, and have 50+ views and not a single response.I posted an article that I wrote which has had, to date, over 300 viewers. I was expecting at least some questions from people that didn't understand the concept that I was presenting, but other than a follow up I made to try and reassure readers that questions were welcome, it didn't receive a single response, either. However, you don't see me whining like a child.
I considered responding to this thread. However, there have been so many posts regarding "right-click" scripts recently that I didn't think I needed to bother. I would have hoped that you'd have read around and drawn sensible conclusions from what had been written. Obviously, that's too much to ask.
That says a lot about a forum,Your attitude and apparent inability to show initiative speaks volumes about yourself, too.
Mike
Disclaimer: My opinions do not represent those of Dynamic Drive and its administration staff, nor do they necessarily represent the feelings and attitudes of the majority of this community.
try this
<script language=JavaScript>
<!--
//Disable right mouse click Script
//By Maximus (maximus@nsimail.com) w/ mods by DynamicDrive
//For full source code, visit http://www.dynamicdrive.com
var message="Function Disabled!";
///////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}
function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}
if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}