Javascript
Hola experto
Como puedo hacer para que mi página se vea correctamente
bajo diferentes resoluciones(14', 15', 17')
Tengo este código pero no se como utilizarlo
<script>
if(screen.width<=640)
top.location.href="index640.htm";
if(screen.width<=800)
top.location.href="index800.htm";
if(screen.width<=1024)
top.location.href="index1024.htm";
if(screen.width<=1280)
top.location.href="index1280.htm";
</script>
De antemano gracias por tu colaboración
Como puedo hacer para que mi página se vea correctamente
bajo diferentes resoluciones(14', 15', 17')
Tengo este código pero no se como utilizarlo
<script>
if(screen.width<=640)
top.location.href="index640.htm";
if(screen.width<=800)
top.location.href="index800.htm";
if(screen.width<=1024)
top.location.href="index1024.htm";
if(screen.width<=1280)
top.location.href="index1280.htm";
</script>
De antemano gracias por tu colaboración
Respuesta de k3po
1