Below is what i have right now, it loads the popup window(subscriptions)correctly, when i press the link in the popup window it opens the form.htm in the popup window instead of the main browser window.
Expand|Select|Wrap|Line Numbers
- <title>Subscription</title>
- <link href="cover.css" rel="stylesheet" type="text/css" />
- <script type="text/javascript">
- function showForm(URL){
- window.opener.location.href="form.htm";
- window.close();
- }
- </script>
- </head>
- <body>
- <div id="main">
- <p><a href="form.htm">
- <b>Order 12 issues <br />for: $9.95*</b>
- </a>
- </p>
- <p><img src="cover.jpg" alt="The Civil War Journal" /><br />
- *25% off the <br />newsstand price!</p>
- </div>
- </body>
- </html>