Ver Mensaje Individual
  #6 (permalink)  
Antiguo 10/02/2007, 08:42
wigglyUtrera
 
Fecha de Ingreso: enero-2007
Mensajes: 405
Antigüedad: 17 años, 3 meses
Puntos: 3
Re: Abrir varias ventanas al inicio de la web

Código:
<SCRIPT LANGUAGE="JavaScript"> 
function abrirVentana(dir,nombre,ancho,alto){ 
open(dir, nombre, 'width='+ancho+',height='+alto+',scrollbars=no,toolbar=no'); 
} 
function inicio(){ 
abrirVentana('vendedores.html','a',750,100); 
abrirVentana('cliente.html','b',800,600); 
} 
</SCRIPT>

De esta manera una funcion te sirve para todas las ventanas, no hace falta crear nuevas.


Saludos.