listen to first window close
Posted on 2006-07-01
I am trying to animate the size (or position) of a window that is opened up by another window when the opener is closed by the user (or when the url is changed in the opener). The second window can be opened at the same time the first page is launched or can be poped up when the first window is closed.
My question is:
how do I listen to the "onclose" event of the first window from within the second window?