Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/05/2011, 06:19
jhz1983
 
Fecha de Ingreso: diciembre-2010
Mensajes: 166
Antigüedad: 13 años, 4 meses
Puntos: 0
porqué no funciona?

<html>
<head>
<title>
bloqueo boton
</title>
<script language="javascript">
<!--
function clock()
{
if(event.button==2)
{
alert("No esta permitido el uso del botón derecho en esta página");
}
}
//-->>
</script>
</head>
<body>
<a name="enlace" href=# onMouseDown="clock()">Enlace prohibido</a>
</body>
</html>