Ver Mensaje Individual
  #2 (permalink)  
Antiguo 14/09/2004, 04:40
davana
 
Fecha de Ingreso: septiembre-2004
Mensajes: 3
Antigüedad: 19 años, 7 meses
Puntos: 0
Sonrisa focus()

Su código esta casi perfecto.
Cuando hace un clic para abrir otra imágen, la "ventana1" recibe este imágen,
pero la ventana1 no se pone sobre otras ventanas abiertas.
Es porque te parece no funciona su página.

Si proba mi solución, creo que funcionara.

Cita:
<HTML>
<script language=javascript>
var ventana1 = null;
function ventanaSecundaria (URL){
ventana1=window.open(URL,"ventana1","width=670,hei ght=550,scrollbars=NO,TOP=50,left=180 ,RESIZABLE=YES,");
ventana1.focus();
}
function ventanaClose() {
if(ventana1 != null) if(!ventana1.closed) ventana1.close();
}
</script>

<body vlink="112233" alink="885522" bgcolor="eeeeee" onUnLoad="ventanaClose();">
<a href="javascript:ventanaSecundaria('http://espanol.geocities.com/compurojas/mar1.jpg')"> Clic aqu&iacute;</a>

</body>
</HTML>