Mooby Posted October 15, 2002 Share Posted October 15, 2002 I have the following script, from product_info.php. It contains code from the 3 images mod but what i want to know is how to remove the popup image from the coding below? I want 2 images showing, one in the categories and the other in the product info file thanks for any help Matt ------------------code below-------------------- <script language="javascript"><!-- document.write('<?php echo '<a href="java script:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info_values['products_id']) . '')">' . tep_image(DIR_WS_IMAGES . $product_info_values['products_mediumimage'], addslashes($product_info_values['products_name']), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> <noscript> <?php echo '<a href="' . tep_href_link(DIR_WS_IMAGES . $product_info_values['products_mediumimage']) . '">' . tep_image(DIR_WS_IMAGES . $product_info_values['products_mediumimage'], $product_info_values['products_name'], MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> Link to comment Share on other sites More sharing options...
Mooby Posted October 15, 2002 Author Share Posted October 15, 2002 anyone????? reasonably urgent thanks Matt Link to comment Share on other sites More sharing options...
Guest Posted October 15, 2002 Share Posted October 15, 2002 You could try <noscript> <script language="javascript"><!-- document.write('<?php echo '<a href="javascript:popupWindow('' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info_values['products_id']) . '')">' . tep_image(DIR_WS_IMAGES . $product_info_values['products_mediumimage'], addslashes($product_info_values['products_name']), MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); //--></script> </noscript> Not sure if that will work, but give it a shot. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.