I added a picture and link to the shipping estimator in a sidebox, I want the shipping estimator to open in a popup like on the checkout page, but when I add this code to the sidebox file for the address when the image is clicked on,
HTML Code:
<a href="javascript:popupWindow('http://midwestapplianceparts.com/popup_shipping_estimator.html')">
the page dies loading after the header....
so... I changed the code to something like this:
HTML Code:
<a href="'https://midwestapplianceparts.com/popup_shipping_estimator.html" target="_blank">
this works fine, but opens a whole new big window....
I want the popup to work... so what can I change in this code to get the popup to work
PHP Code:
<?php
/**
* tpl_authorizenet.php
*
* Loaded automatically by index.php?main_page=account_edit.<br />
* Displays information related to a single specific order
*
* @package templateSystem
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* $Id: tpl_godaddy.php v 1.2 2006-09-06
* Zen Cart Mod For 1.3xxxx by knuckle-101
*/
$content .= '
<a target="_blank" href="https://www.scanalert.com/RatingVerify?ref=www.midwestapplianceparts.com">
<img width="94" height="54" border="0" src="//images.scanalert.com/meter/www.midwestapplianceparts.com/13.gif" alt="HACKER SAFE certified sites prevent over 99.9% of hacker crime." /></a><br>
<br><img src="images/authorize/secure_payments_seal.gif"><br><br><img src="images/cc-paypal.jpg"><br>
<a href="https://midwestapplianceparts.com/popup_shipping_estimator.html" target="_blank" ><img src="images/shipest.jpg" /></a>';
?>