hey, u shud write a onmousedown event on the body tag,and check in the function whether the event.button==2(this is the numeric equivalent of the right click for a 2 button mouse),if u have any doubt then prompt the event.button in the function and find out the equivalent of the right click,then proceed further.any more doubts,contact me.
Hi folks... The oncontextmenu is genius! I wrote code which used the onClick method and prompted an alert, but this one is far more authoritative. That being added, how do I now restrict viewrs from my source code through the View >> Source menu? This one would be really nice to have. Reilly