Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/04/2002, 12:55
Avatar de adex
adex
 
Fecha de Ingreso: marzo-2002
Ubicación: Lima, Perú, América Latina
Mensajes: 445
Antigüedad: 22 años, 2 meses
Puntos: 0
Re: Abrir Ventana según resolución

hola:
puedes probar este Script, que a mi si me funciona de maravilla:
1.- utiliza este Script para abrir nueva ventana:::::::::::::::::::::::::::::::::
<a href="javascript:window.open('tu_enlace.htm', '' ,'toolbar=no,location=no,directories=no,status=no, menubar=no,scrollbars=no,resizable=no,width=300,he ight=150,screenX=0,screenY=0,alwaysRaised=yes');vo id(null);">Texto Enlace</A>
::::::::::::::::::::::::::::::::::::::::
2.- tu pagina de destino deve tener este contenido [.JS]
::::::::::::::::::::::::::::::::::::::::
<html>
<head>
<script LANGUAGE="JavaScript">
function redireccionar() {
var url640x480 = "http://www.un_sitio_X.com.pe/";
var url800x600 = "http://www.un_sitio_X.com.pe/";
var url1024x768 = "http://www.un_sitio_X.com/";
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>redireccionador Screen</title>
</head>
<body onLoad="redireccionar()">
</body>
</html>
::::::::::::::::::::::::::::::::::::::

espero que te ayude!.
- saludos -