Ver Mensaje Individual
  #2 (permalink)  
Antiguo 19/03/2006, 18:37
Avatar de flaviovich
flaviovich
 
Fecha de Ingreso: agosto-2005
Ubicación: Lima, Peru
Mensajes: 2.951
Antigüedad: 18 años, 8 meses
Puntos: 39
Hola, fredyh23! Bienvenido
A ver, prueba este codigo.
Código HTML:
<html>
<head>
<script>
var ultimaTeclaPulsada;
function comprobarTecla(e)
{
  tecla=(document.all) ? e.keyCode : e.which;
  if (ultimaTeclaPulsada==18 && (tecla==37 || tecla==39))
  {
    return false;
  }
  ultimaTeclaPulsada=tecla;
}
</script>
</head>
<body onKeyDown="return comprobarTecla(event)">
</body>
</html> 
__________________
No repitamos temas, usemos el Motor de busquedas
Plantea bien tu problema: Ayúdanos a ayudarte.