ASP - Necesito saber como deshabilitar el click derecho

 
Vista:

Necesito saber como deshabilitar el click derecho

Publicado por Neon (11 intervenciones) el 04/09/2002 22:39:38
Necesito saber como deshabilitar el click derecho del mouse en un asp

Gracias

Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:Necesito saber como deshabilitar el click derec

Publicado por Antonio (33 intervenciones) el 05/09/2002 15:43:29
Puedes utilizar este javascript :

<script language="JavaScript">

<!--
// No rightclick script v.2.5

var message="Sorry, that function is disabled.\nThis Page Copyrighted and\nImages and Text protected!\nALL RIGHTS RESERVED";

// Don't edit below!

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>


Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:Necesito saber como deshabilitar el click derec

Publicado por Neon (11 intervenciones) el 06/09/2002 17:30:35
Muchas Gracias
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar