mattcald Posted October 15, 2002 Posted October 15, 2002 On my product info page, I have a link to the products webpage. I do not want the image to be click-able, nor do I want the "Click to enlarge" text either. Could some one please give me the code I need to insert instead of this: <td align="center" class="smallText"> <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_image'], addslashes($product_info_values['products_name']), SMALL_IMAGE_WIDTH, SMALL_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_image']) . '">' . tep_image(DIR_WS_IMAGES . $product_info_values['products_image'], $product_info_values['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?> </noscript> </td> ** God Bless ** ---------------------
mattcald Posted October 15, 2002 Author Posted October 15, 2002 Nevermind, I should have done a search first!!! http://www.oscommerce.com/forums/viewtopic.php...tclicktoenlarge ** God Bless ** ---------------------
Recommended Posts
Archived
This topic is now archived and is closed to further replies.