Adds mouseover text to zoom image and also 'zoom' text next to zoom picture. I use a magnifying glass icon for my zoom. This makes the zoom pic compatible with multiple languages. Based on v.1.3b
product_info.php
CHANGE:
document.write('' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOP ICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_wid th), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOP ICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_hei ght), 'hspace="5" vspace="5"') . '
' . TEXT_CLICK_TO_ENLARGE . '');
TO:
document.write('' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], addslashes($product_info['products_name']), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOP ICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_wid th), (MOPICS_RESTRICT_PARENT=='false'&&$mo_item==0&&MOP ICS_GROUP_WITH_PARENT=='true'?'':$mopics_image_hei ght), 'hspace="5" vspace="5"') . '
'. tep_image(DIR_WS_IMAGES .'zoom.gif', TEXT_CLICK_TO_ENLARGE).TEXT_CLICK_TO_ENLARGE.'');
CHANGE:
' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], $product_info['products_name'], $mopics_image_width, $mopics_image_height, 'hspace="5" vspace="5"') . '
' . TEXT_CLICK_TO_ENLARGE . '
TO:
' . tep_image(DIR_WS_IMAGES . $mopics_images[$mo_item], $product_info['products_name'], $mopics_image_width, $mopics_image_height, 'hspace="5" vspace="5"') . '
'.tep_image(DIR_WS_IMAGES .'zoom.gif', TEXT_CLICK_TO_ENLARGE).TEXT_CLICK_TO_ENLARGE.'
CHANGE:
document.write('





LinkBack URL
About LinkBacks









Bookmarks