Ver Mensaje Individual
  #5 (permalink)  
Antiguo 25/01/2002, 11:15
trainee
 
Fecha de Ingreso: enero-2002
Ubicación: Madrid
Mensajes: 93
Antigüedad: 22 años, 4 meses
Puntos: 0
Re: Como se hace esto??

Código completo:

<html>
<body>
<SCRIPT LANGUAGE="Javascript">
if (window.screen.width=="1152") if (window.screen.height=="864")
texto="Tu resolución es "+screen.width+"x"+screen.height+&q uot; muy grande";
if (window.screen.width=="1024") if (window.screen.height=="768")
texto="Tu resolución es "+screen.width+"x"+screen.height+&q uot; la que yo uso";
if (window.screen.width=="800") if (window.screen.height=="600")
texto="Tu resolución es "+screen.width+"x"+screen.height+&q uot; valida";
if (window.screen.width=="640") if (window.screen.height=="480")
texto="Tu resolución es "+screen.width+"x"+screen.height+&q uot; escasa";
else
texto="No lo se, necesito que tengas Communicator o InternetExplorer.";
document.write(texto);
</SCRIPT>
</body>
</html>

Suerte The Trainee..