I have a pop-up window which I am quite happy with. What I wish to do, however, is insert a text link in the pop up which allows the user to go back to the normal size home page (index.html) while closing the pop up.
@tobakeDec 12.2002 — #I´m not really sure what you need. But if you want to return to the page that opened you popup window, you can do it like this:
<i> </i><script> function goToOpener() { window.opener.focus(); //if you also want to close the popup this.close(); } </script> <a href="" onclick="goToOpener()">go to first win</a>
@tobakeDec 12.2002 — #ok then you can do like this:
<i> </i><script> function goToOpener() { window.opener.location.href="index.html"; window.opener.focus(); //if you also want to close the popup this.close(); } </script> <a href="" onclick="goToOpener()">go to first win</a>