Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Banner click to a popup window


Guest

Recommended Posts

Posted

How can I get the /catalog/includes/footer.php page to link to a popup window.

Right now they just redirect back to the catalog/index.php

 

The popup javascript I planned on using is:

 

<script LANGUAGE="JavaScript">
<!--
function shippinginfo()
{
appquestions = window.open('shippinginfo.html', 'anew', config='height=452,width=642,toolbar=no,menubar=no,scrollbars=yes,resizable=no,locat
ion=no,directories=no,status=yes');
}
-->
</SCRIPT>
<script LANGUAGE="JavaScript">
<!--
function pricematch()
{
appquestions = window.open('price_matching.html', 'anew', config='height=570,width=642,toolbar=no,menubar=no,scrollbars=yes,resizable=no,locat
ion=no,directories=no,status=yes');
}
-->
</SCRIPT>
<script LANGUAGE="JavaScript">
<!--
function secure()
{
appquestions = window.open('ssl_secure.html', 'anew', config='height=165,width=490,toolbar=no,menubar=no,scrollbars=yes,resizable=no,locat
ion=no,directories=no,status=yes');
}
-->
</SCRIPT>

 

I attempted placing the above code in catalog/index.php and entering

javascript:shippinginfo()

in the admin/banner url field but I get a 404 error.

 

Any suggestions?

 

http://www.kognitodev.com/catalog/

 

:blink:

Archived

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

×
×
  • Create New...