This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Popup window Navigation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Popup window Navigation" Watch "Popup window Navigation" New topic

Popup window Navigation

Prasad Babu
Ranch Hand

Joined: Jul 17, 2005
Posts: 57
Hi All,

In my web application there are some links to open in popup window. If the popup already opened and if I am trying to open another there should be a warning like massage to confirm the user to go further i.e. to visit the new location in same popup window. here I want the warning message.if the user accepts to navigate the popup will be loaded with new location else no.

is it possible? if so how?

Thanks in advance.
[ August 28, 2006: Message edited by: Prasad Babu Dandu ]
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
here the window name is winPop and sets the location to a new page if it is open

I think you can take it from there with window.confirm();

I agree. Here's the link:
subject: Popup window Navigation
It's not a secret anymore!