PDA

View Full Version : Resolved the magnifying glass in on the back of the image



gazustoy
06-14-2011, 04:57 PM
1) Script Title: Image Power Zoomer v1.1

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/powerzoomer.htm

3) Describe problem:
the problem that i found is that the magnifying glass is on the back of the image, the code of the image is the next:


<?php echo '<img class="zoom" src="components/com_virtuemart/shop_image/product/'.$product_full_image.'" width="70%" />' ?>

the link to view the mistake is:

www.sitiodearte.com (http://sitiodearte.com/galeria/index.php?page=shop.product_details&product_id=37&flypage=flypage.tpl&pop=0&option=com_virtuemart&Itemid=113)

thanks for your help

ddadmin
06-15-2011, 07:01 AM
Try finding the below line inside the .js file, and add to it the part in red:


var $magnifier=$('<div style="position:absolute;width:100px;height:100px;display:none;overflow:hidden;border:1px solid black;z-index:1000" />')