Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

extra image popup option


altenter

Recommended Posts

Posted

Hello,

I hope someone can shed some light on this piece of code, it is the code that shows the popup image from product_info.php but the wrong image shows in the popup.

There are 2 more images showing in product_info.php, this is the third one.

 

<script language="javascript"><!--

document.write('<?php echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image3'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>');

//--></script>

 

Thanks for any helper.

Archived

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

×
×
  • Create New...