
10/02/2003, 16:58
|
 | | | Fecha de Ingreso: marzo-2002 Ubicación: Puerto Vallarta, Mexico
Mensajes: 204
Antigüedad: 23 años Puntos: 0 | |
o tal vez este !!!
<script language="Javascript">
if (screen.width <= 640) {
document.location = "640x480.htm";
}
else if (screen.width <= 800) {
document.location = "800x600.htm";
}
if (screen.width > 800) {
document.location = "larger.htm";
}
</script>
sin embargo este tal vez no funcione con todas las versiones de navegador..
y en lugar de open como esta en el anterior debes mejor usar document.location , bueno eso haria yo.. |