Detectar configuracion

Gustavo
19 de Abril del 2004
Como puedo hacer para detectar si un navegante tiene configurado su explorer en 800 x 600 u otro tamaño

Oscar
19 de Abril del 2004
Con esto

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;

Hay otro atributo que es screen.availWidth y screen.availHeight
Que dan el alto y el ancho disponible

Un Saludo.