Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/02/2009, 01:04
Avatar de seoista
seoista
 
Fecha de Ingreso: septiembre-2003
Ubicación: Pues leyéndote
Mensajes: 1.076
Antigüedad: 21 años, 6 meses
Puntos: 59
Respuesta: Abrir dos ventanas a la vez

Prueba esto, a ver si es lo que necesitas:
Cita:
<html>
<head>

<script type=text/javascript>
var URL = "http://";

function abre2(){
web = "www.google.com";
window.open(URL+web, '_blank', '');
setTimeout ("abre3()", 1000)
}

function abre(){
web = "www.yahoo.com";
window.open(URL+web, '_blank', '');
setTimeout ("abre2()", 1000)
}
</script>

</head>

<body>

<a href="javascript:abre()">¡ Abrete Sesamo !</a>

</body>
</html>
O también así:
Cita:
<html>
<head>

</head>

<body>

<input type="button" value="¡ Abrete Sesamo !" onclick = "window.open('http://www.yahoo.com'); window.open('http:// www.google.com')" />

</body>
</html>
Saludos .

Última edición por seoista; 10/02/2009 a las 01:16