ok i know that there are other threads that talk about how to close a parent window after a child window closes, but i have a situation that that has a little twist to it. the following describes what i would like to happen:
1. i have a parent window open a popup window.
2. i want the popup window to close automatically after 120 seconds. (currently i implement onLoad="window.setTimeout('this.close()', 120000);" to do this)
3. after the popup closes i would like the parent window to refresh.
without going into details as to why, i can't use the onunLoad="window.opener.reload()" in order to implement step #3.
the kind of solution that i'm looking for would go something like this:
1. once the popup window opens start a countdown starting at 120 seconds.
2. if the countdown gets to zero, then close the popup window and then refresh the parent window.
thanks for any advice or pointers that you may be able to give.
1. i have a parent window open a popup window.
2. i want the popup window to close automatically after 120 seconds. (currently i implement onLoad="window.setTimeout('this.close()', 120000);" to do this)
3. after the popup closes i would like the parent window to refresh.
without going into details as to why, i can't use the onunLoad="window.opener.reload()" in order to implement step #3.
the kind of solution that i'm looking for would go something like this:
1. once the popup window opens start a countdown starting at 120 seconds.
2. if the countdown gets to zero, then close the popup window and then refresh the parent window.
thanks for any advice or pointers that you may be able to give.