Código HTML:
<html> <head> <script> var res, url if ((screen.width == 800) && (screen.height == 600)){ res="800x600" url="800x600.htm"} else if ((screen.width == 1024) && (screen.height == 768)){ res="1024x768"; url="1024x768.htm"} else if ((screen.width == 1152) && (screen.height == 864)){ res="1152x864"; url="1152x864.htm"} else if ((screen.width == 1280) && (screen.height == 1024)){ res="1280x1024"; url="1280x1024.htm"} else{ window.location.href = "otra.htm"} function Entrar(){ window.location.href=url} </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>
gRACIAS A LOS QUE ME PUEDAN AYUDAR Y SALUDOS A TODOS
