ok, here is my take... i agree with kobra in that it will seems easier with a .js file. i would use the following:
Code:
<script type="text/javascript"><!--
function popupWindow(url) {
window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}
//--></script>
replace my variables with whatever you want/need/ is provided at the top of your code.
then for the php part:
PHP Code:
//replace:
$content .=
'<center>
<!-- Begin Official PayPal Seal -->
<a target= " _blank " href= " ' .MODULE_PAYPAL_SEAL_VERIFIED_URL . ' " onclick= javascript:window.open(\'https://www.paypal.com/webapps/mpp/paypal-popup\',\'WIPaypal\',\'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, width=1060, height=700\');>' .
zen_image(DIR_WS_TEMPLATE_IMAGES . MODULE_PAYPAL_SEAL_LOGO_IMAGE_FILENAME, MODULE_PAYPAL_SEAL_ALT_TEXT, 150, 100) .
'</a>
<!-- End Official PayPal Seal -->
</center>';
//with:
$content .=
'<center>
<!-- Begin Official PayPal Seal -->
<a target= " _blank " href= " ' .MODULE_PAYPAL_SEAL_VERIFIED_URL . ' " onclick="popupWindow(this.href); return false">' .
zen_image(DIR_WS_TEMPLATE_IMAGES . MODULE_PAYPAL_SEAL_LOGO_IMAGE_FILENAME, MODULE_PAYPAL_SEAL_ALT_TEXT, 150, 100) .
'</a>
<!-- End Official PayPal Seal -->
</center>';
make sure the javascript code gets loaded...
hope that helps!
good luck!
Bookmarks