Results 1 to 2 of 2

Thread: the image does not match what comes out the magnifying glass

  1. #1
    Join Date
    Jun 2011
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Talking the image does not match what comes out the magnifying glass

    1) Script Title: Image Power Zoomer v1.1

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...owerzoomer.htm

    3) Describe problem:
    once again thanks for the help, my code in the image is as follows:

    PHP Code:
    <img id="zoom" src="components/com_virtuemart/shop_image/product/'.$product_full_image.'" width="70%" /> 
    HTML Code:
    dsetting: {defaultpower:2, powerrange:[2,8], magnifiersize:[180, 180]},
    to the depth of the page will add this:

    HTML Code:
    var $magnifier=$('<div style="position:absolute;width:100px;height:100px;display:none;overflow:hidden;border:1px solid black; z-index:1000" />
    works perfectly in firefox but in explorer (any version) does not match, as if the original image was very large, any suggestion?,
    sitiodearte.com

    thanks in advance
    Last edited by gazustoy; 06-18-2011 at 07:31 PM.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    It's also a problem in Opera, possibly others. I almost gave up on this one. It didn't take too long to see it was some sort of obscure conflict between jQuery and MooTools.

    To make a way too long story short, update jQuery to version 1.5.2 - change this (it's in the head of the page):

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    to:

    Code:
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •