Thread: No Right Click
View Single Post
(#1 (permalink))
Old
delly1's Avatar
delly1 (Offline)
TDP Greeter
Hand Drawn
 
Posts: 1,012
Join Date: Oct 2005
Zodiac Sign: Sagittarius
Rating: 19 Votes / 4.53 Average
Send a message via MSN to delly1
Default No Right Click - 01-20-2008, 02:32 PM

No right click
<SCRIPT language="JavaScript">
<!--
/*
No rightclick script v.2.5
(c) 1998 barts1000
barts1000@aol.com
*/
var message="PUT WHAT YOU LIKE HERE TO SAY TO THEM.";
//
function click(e){
if (document.all){
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers){
if (e.which == 3){
alert(message);
return false;
}
}
}
if(document.layers){
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
//-->
</SCRIPT>
</FONT>



Text for putting codes in

<TEXTAREA rows="5" cols="20">TEXT GOES HERE


Here is my website for more codes to help with your website building!
BluePassions



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!