Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/01/2003, 21:25
chivi
 
Fecha de Ingreso: diciembre-2001
Ubicación: Madrid
Mensajes: 889
Antigüedad: 22 años, 4 meses
Puntos: 4
Si te entendí bien, prueba ésto tan sencillo que te hago:
Código PHP:
html>
<
head>
<
script>
var 
res
if ((screen.width == 800) && (screen.height == 600))
res="800x600";
else if ((
screen.width == 1024) && (screen.height == 768))
res="1024x768";
else if ((
screen.width == 1152) && (screen.height == 864))
res="1152x864";
else if ((
screen.width == 1280) && (screen.height == 1024))
res="1280x1024";
else 
window.location.href "otra.htm"
function Entrar(){
window.location.href=res ".htm"
}
</script>
</head>
<body>
Tu Resolución de Pantalla es: <b><script>document.write(res)</script></b><br>
<a href="javascript:Entrar()">Acceda a la página correspondiente a tu resolución</a>
</body>
</html>