Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/06/2003, 21:47
exiz
 
Fecha de Ingreso: febrero-2002
Ubicación: Santiago
Mensajes: 42
Antigüedad: 23 años, 1 mes
Puntos: 0
Pregunta resolucion de mi sitio

Hola
Tengo un sitio web que se ve muy mal cuando cambia de resolucion. yo lo hice con una resolucion de 800 x 600 pero en 640 x 480 se ve horrible. todo encima de todo no se que hacer tengo un script para enviar al visitante segun su resolucion, pero no se como se ocupa. tendria que hacer distintas home? o que
Saludos y GRACIAS!!!!!!!!!!!!!!!!!!!!!


aqui va el script:

<html>

<head><script LANGUAGE="JavaScript">

function redireccionar() {
var url640x480 = "http://www.tu-sitio.com/640x480";
var url800x600 = "http://www.tu-sitio.com/800x600";
var url1024x768 = "http://www.tu-sitio.com/1024x768";
if ((screen.width == 640) && (screen.height == 480))
window.location.href= url640x480;
else if ((screen.width == 800) && (screen.height == 600))
window.location.href= url800x600;
else if ((screen.width == 1024) && (screen.height == 768))
window.location.href= url1024x768;
else window.location.href= url640x480;
}

</script>

<title></title>
</head>

<body onLoad="redireccionar()">
</body>
</html>