closing multiple pop ups

wxdqz

New Member
Hi, I have been trying to get 2 pop ups to close at the same time, called from one of the pop ups onUnload function.
I originally had both pop ups opened from the parent page, but after failing to get both to close when needed, I switched to getting the first popup to spawn the second popup, in the hope that it would give the first popup more control over the second ....!!

I have tried to tell the 1st popup to close the second using windowname.close() and opener.windowname.close() and parent.windowname.close() and nothing works.

Is this possible, or am I just stoopid ?

I don't have to put "javascript:windowname.close()" in an onUnLoad event do I ?

TIA

alan
 
Back
Top