I have a program that will pop up a window when you click on a link. Then if you click on a button/link in that window it opens another window/URL. The pop up window passes a url reference to get back to the original URL to the third window/url that opens for a 'where to go when I'm done here' sort of thing.
The problem is I would like to open the 3rd URL back in the 1st window.
Without an intermediate pop up this is what happens, however, with the intermediate pop-up I end up getting the original page squished into the pop-up window if it was set not to close. If I have the pop up set to close when it loses focus (ie. when the third window/url opens.) Internet Explorer won't open the third window. FireFox opens the third window and then drops me back to the original url but in the third window (so now there are two of them open)
Without the pop-up window I can open the third URL to the target of self so only one window is needed but the pop-up is a small window and the contents of the third window wouldn't fit so I opened it to blank as I have no idea how to address the first window.
Here is the problem. Is there a way to open the third window/url back in the first one and close the pop-up in the process. This would solve the problem. I can see how to name a new window like the pop-up window when I open it but how do I address the existing window. Can I somehow name it? Or is there some variable that I can use that will give me a name I can use for the target in the link on the pop-up to open the third url back in the first window?
There are a couple of kinks in the process as well. I control how the link to the popup and to the third URL/window are coded but I only transfer a URL for the return trip from the third URL back to the 1st so I need to be in the first window for it to work well. Also the transfer from the pop-up to the third URL is by way of a button on a form so it has to work in a form reference.
Hope you can help. Thanks.