Ver Mensaje Individual
  #4 (permalink)  
Antiguo 24/07/2006, 11:17
x_women
 
Fecha de Ingreso: abril-2005
Ubicación: en Santa Cruz - España
Mensajes: 429
Antigüedad: 19 años, 1 mes
Puntos: 1
hola gracias de todas formas encontre la solucion, para quien le sirva:

Ventana Principal:
<script language="javascript">
var hay_hija = new Boolean(false);
var hija = new Object();

function Abrir(){
hija = window.open("tuventana.htm","hija","width=350,heig ht=500");
hay_hija = true;
}
</script>

Ventana Hija:
<body onunload="opener.hay_hija=false">

en el body

buenos nos vemos,
<body onmouseover="if (hay_hija == true) hija.focus();" onfocus="if (hay_hija == true) hija.focus();">
<a href="javascript:Abrir()">Abrir Ventana</a>
</body>