Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Popup window help


DeadDingo

Recommended Posts

Hi All I want to add this sort of code into my /includes/languages/english/modules/payment/paypal_ipn.php file,

 

 <script language="javascript">
function popupWindow(url) {  
window.open('http://www.mysite.com/popup_paypal_cc_help.php','popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,re
sizable=yes,copyhistory=no,width=600,height=300,screenX=150,screenY=150,top=150,l
eft=150')
}
</script>
<noscript>
<a href="http://www.mysite.com/popup_paypal_cc_help.php" target="_blank">[more info]</a>
</noscript>

 

but because it is within the

 

define('MODULE_PAYMENT_PAYPAL_IPN_TEXT_TITLE', ' '

 

I am having trouble due to the ' ' within the code.

 

 

Does anyone know how I could add a popup window (of a given size without the IE menus) within a define text area .

 

 

Cheers

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...