
17/02/2005, 09:30
|
 | | | Fecha de Ingreso: abril-2004 Ubicación: Allí, al fondo a la izqui
Mensajes: 316
Antigüedad: 20 años, 10 meses Puntos: 0 | |
Ahí va... un ejemplo.
Código:
<html>
<head>
<script language="javascript">
<!--//
function abrir_ventana(direcciones) {
var total = direcciones.length;
alert(total);
x=0;
for(x=0;x<total;x++){
var ventana = window.open('"'+direcciones[x]+'"', "pagina"+x, "width=400, height=400, status=no, scrollbars=no, toolbars=no, menubar=no");
}
}
//-->
</script>
</head>
<body>
<a href="javascript:abrir_ventana(['pagina1.htm','pagina2.htm','pagina3.htm'])">Abre</a>
</body>
</html>
__________________ Señoooraaaa!! Que camisetas!!! "Hay 10 tipos de personas, las que piensan en binario y las que no"
_________________________________ |