J
julie.siebel
I KNOW this can't be as hard as I am making it.
I have a travel client with two related websites. On the homepage of
the new site (Call it "Site A") I am building for them, there is a link
to a popup window that includes the European regions both companies
offer (Links to both site A and site B).
If they click on a region that is a "Site A" region, the popup closes,
and the homepage is changed to the region page for Site A, for the
selected region.
If they click on a region that is a "Site B" region, a new window opens
with the Site B region page, but the popup doesn't close, I am assuming
because the focus is now on the Site B page. That means if they go back
to Site A and try to get that popup again, there's a good chance it
will be hidden behind the Site A homepage. (Besides, it's just messy
leaving windows open like that.)
And example Site B link within the Site A popup would be:
<a target="newwindow" href="http://www.siteb.com/reg.asp?RID=337"
onclick="window.open("http://www.siteb.com/reg.asp?RID=337","_blank");window.close();">Salzburg</a>
If this link is clicked on, the Site A homepage remains open, the Site
B Region page opens in a new window, but the popup does not close.
I've tried using window.opener.location as well, but get similar
results. What stupid thing am I doing THIS time?
Thanks,
Julie
I have a travel client with two related websites. On the homepage of
the new site (Call it "Site A") I am building for them, there is a link
to a popup window that includes the European regions both companies
offer (Links to both site A and site B).
If they click on a region that is a "Site A" region, the popup closes,
and the homepage is changed to the region page for Site A, for the
selected region.
If they click on a region that is a "Site B" region, a new window opens
with the Site B region page, but the popup doesn't close, I am assuming
because the focus is now on the Site B page. That means if they go back
to Site A and try to get that popup again, there's a good chance it
will be hidden behind the Site A homepage. (Besides, it's just messy
leaving windows open like that.)
And example Site B link within the Site A popup would be:
<a target="newwindow" href="http://www.siteb.com/reg.asp?RID=337"
onclick="window.open("http://www.siteb.com/reg.asp?RID=337","_blank");window.close();">Salzburg</a>
If this link is clicked on, the Site A homepage remains open, the Site
B Region page opens in a new window, but the popup does not close.
I've tried using window.opener.location as well, but get similar
results. What stupid thing am I doing THIS time?
Thanks,
Julie