Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/10/2006, 14:18
Avatar de HiTek
HiTek
 
Fecha de Ingreso: noviembre-2003
Ubicación: LF, Santiago.Chile
Mensajes: 217
Antigüedad: 21 años, 3 meses
Puntos: 0
Juanmi prueba este codigo....

espero que resuelva tu problema...tu explicación no me quedó tan clara como el agua pero si resuelve tu problema es un problema menos para los humanos (humanos:1 - javascript:0)...


padre.htm
Código HTML:
<html>
<script>
	var ventana=window.open('hijo.htm','','');
	function checkfocus()
	{
		if(!ventana.focus())
			ventana.focus();
	}
	setInterval('checkfocus()',1000);
</script>
<body>
padre
</body>
</html> 
hijo.htm
Código HTML:
<html>
<body onblur='window.focus();'>
padre
</body>
</html>