![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
24/07/2006, 11:17
|
| | Fecha de Ingreso: abril-2005 Ubicación: en Santa Cruz - España
Mensajes: 429
Antigüedad: 19 años, 10 meses 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> |