J
JPL Verhey
Hi,
I have a little test script in a pop up window. The pop up page
refreshes every 2 seconds. I want it to check with every refresh if a
certain page (log3.htm) is loaded in the opener window. If that is the
case, another page (log4.htm) must be loaded in the opener window.
In pop up page:
<script>
<!--
if (opener.location.href="log3.htm")
{opener.location.replace("log4.htm")}
//-->
</script>
But it aint working
What happens is that the condition doesn't work,
because with *any* page in the opener window, it is replaced immediately
with log4.htm when the pop up refreshes - log4.htm should only be
loaded automatically when log3htm is in the opnener window. So pop up
and opnener parent do communicate.. but just not as I'd like them.
Anyone??
*&%$
Thnx
I have a little test script in a pop up window. The pop up page
refreshes every 2 seconds. I want it to check with every refresh if a
certain page (log3.htm) is loaded in the opener window. If that is the
case, another page (log4.htm) must be loaded in the opener window.
In pop up page:
<script>
<!--
if (opener.location.href="log3.htm")
{opener.location.replace("log4.htm")}
//-->
</script>
But it aint working
because with *any* page in the opener window, it is replaced immediately
with log4.htm when the pop up refreshes - log4.htm should only be
loaded automatically when log3htm is in the opnener window. So pop up
and opnener parent do communicate.. but just not as I'd like them.
Anyone??
*&%$
Thnx