![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
10/02/2007, 08:42
|
| | Fecha de Ingreso: enero-2007
Mensajes: 405
Antigüedad: 18 años, 1 mes 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. |