Ver Mensaje Individual
  #2 (permalink)  
Antiguo 22/11/2003, 04:23
Avatar de Carlitos
Carlitos
Usuario no validado
 
Fecha de Ingreso: mayo-2001
Ubicación: Zaragoza
Mensajes: 1.304
Antigüedad: 23 años, 10 meses
Puntos: 25
Hola.

Tienes que llamar a las funciones de diferente forma.
Código:
<html>
<head>
<title>pagina</title>
<script language=javascript> 
function ventanaSecundaria(URL){ 
window.open(URL,"ventana1","width=400,height=400,scrollbars=NO") 
} 
</script> 
<script language=javascript> 
function ventanaSecundaria2(URL){ 
window.open(URL,"ventana2","width=600,height=600,scrollbars=NO") 
} 
</script> 
</head>
<body>
<a href="javascript:ventanaSecundaria('enlace.html')">enlace</a>
<a href="javascript:ventanaSecundaria2('enlace2.html')"><b>enlace2</b></a>
</body>
</html>

Última edición por Carlitos; 22/11/2003 a las 04:24