It's not a secret anymore!*
The moose likes HTML, CSS and JavaScript and the fly likes open a popup window of a pop up window from the parent window Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "open a popup window of a pop up window from the parent window" Watch "open a popup window of a pop up window from the parent window" New topic
Author

open a popup window of a pop up window from the parent window

JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
i have a main page , main.jsp

i have a jsp page page1.jsp

when i click a button on this page, it opens page2.jsp in a popup window.

is it possible to open both page1.jsp and page2.jsp simultaneously as two different pop up windows,from main.jsp, on the click of a button?


SCJP 1.4, SCWCD 1.4<br /> <br />Thanks in advance!<br />Jayashree.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60794
    
  65

Yes, just call window.open twice. Be sure to use different window names.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
JayaSiji Gopal
Ranch Hand

Joined: Sep 27, 2004
Posts: 303
Thank you, but wanted to confirm if this is possible, even if page2.jsp is a popup window from page1.jsp
 
wood burning stoves
 
subject: open a popup window of a pop up window from the parent window
 
Similar Threads
Opening HTTPS link in same popup
opening popup window conditionally
Passing data from jsp to jsp to servlets to jsp (OR) NOT to process user's req again
Sending data to popup window
history.back() not retaining changed values in previous page after window.open() call