baggy wrote:
Hi,
I have a situation where I need to be able to refresh a windows parent
parent. I can not seem to use anything like
window.opener.parent.location.reload()
if parent.parent is the frameset itself :
opener.location=opener.location
if not, you call directly the frame by its name :
opener.myFrame.location = ...
(I think there is no importance if this frame is in a frameset
itself in top frameset - to verify ?)
as by the time I execute the statement the parent has closed
You can't close a window it it hasn't be opened by window.open()
did your 'parent' be ?
but you can know if is yet opened
alert(!!opener)
or
if(!!opener) alert('yes'); else alert('no');
and all
connections closed and I am not even sure that would work!
Is there a way to reference a window to refresh it other than by using
window.parent or window.opener.
I think it's the only way each one can know each other
communication between 3 windows (mother + 2 daughters)
simple demo in french (open, exist?, close, messages) :
http://perso.wanadoo.fr/stephane.mor...popup_oui_non/
(not really necessary to understand very more than yes no)
If mother of 2 daughters is closed anything work
--
Stephane Moriaux et son [moins] vieux Mac