Ver Mensaje Individual
  #2 (permalink)  
Antiguo 12/08/2002, 15:25
mercury
 
Fecha de Ingreso: noviembre-2001
Mensajes: 180
Antigüedad: 22 años, 5 meses
Puntos: 1
Re: Como desactivar el boton derecho del mouse??

La verdad que con html no vas a hacer nada, tiene que usar JavaScript, utilizada este script:

<!-- Deshabilita el botón derecho -->

<script LANGUAGE="JavaScript1.1">

<!-- Adaptado por Tk: Compatible con IE y NS -->
<!-- Script original enviado por Graciela -->

function derecha(e) {
if (navigator.appName == 'Netscape' && (e.which == 3 || e.which == 2)){
alert('Botón derecho inhabilitado')
return false;
}

else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button == 2)){
alert('Botón derecho inhabilitado')
}
}
document.onmousedown=derecha
</script>

Espero haberte ayudado. ;)


<div align=left><a href="http://www.tutorialbit.com">
<img src="http://www.iespana.es/TutorialBit/firma/firma.gif" border="0"></a></div>