aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Opening parent window if I close the chile window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Opening parent window if I close the chile window" Watch "Opening parent window if I close the chile window" New topic
Author

Opening parent window if I close the chile window

mou haj
Ranch Hand

Joined: Sep 12, 2001
Posts: 81
Can anyBody help me.
I am opening an window from a browser window
Now i want if I close this child window the original window to open even if it is minimised
Thanks
Dave Vick
Ranch Hand

Joined: May 10, 2001
Posts: 3244
Mou
Just before the child window closes have it call 'opener.focus()' that'll give focus to the window that opened the child window and should make it pop back up if it was minimized.
hope that helps
Dave


Dave
mou haj
Ranch Hand

Joined: Sep 12, 2001
Posts: 81
Dave Im doing something like this
<A HREF="#" onClick="top.close();opener.focus();">
but the parent window is not poping up if it is minimised
Can you please some solution to this
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Opening parent window if I close the chile window