Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/05/2005, 09:43
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola jose_d

Puedes crear un array poniendo esto en la sección <head>

<script type="text/javascript">
var venta = new Array();
</script>

Cuando abras un pop-up, utiliza algo así:

venta[venta.length] = window.open('tupagina.html')

y para cerrar todas las ventanas, usa esta función:

function cerrar() {
for(i=0;i<venta.length;i++)
venta[i].close();
}

Espero que te sirva. Saludos,