hi
i am working on some java script for project ,till it good going but i am not able to do no right click scripting . so please any one can help me to obtain the code .??
thank you .
hi
i am working on some java script for project ,till it good going but i am not able to do no right click scripting . so please any one can help me to obtain the code .??
thank you .
hi
check this i think it will work ..
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>
Bookmarks