
28/05/2002, 13:00
|
 | Usuario no validado | | Fecha de Ingreso: mayo-2001 Ubicación: Zaragoza
Mensajes: 1.304
Antigüedad: 23 años, 10 meses Puntos: 25 | |
Re: Abrir ventana... Hola.
Prueba esto. Ahorrarás código.
<script>
function abrir(url,ancho,alto)
{
parametros="width="+ancho+",height= "+alto+")"
window.open(url,"",parametros)
}
</script>
<a href="#" onclick="abrir('ventana1.htm',100,100)"& gt;ventana1</a>
<a href="#" onclick="abrir('ventana2.htm',250,100)"& gt;ventana2</a>
<a href="#" onclick="abrir('ventana3.htm',50,300)"&g t;ventana3</a>
Un saludo. <img src="http://litos.galeon.com/guino.gif"> Carlos - Zaragoza |