Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Elevate zoom problem... #176

Open
pawansbisht1996 opened this issue Mar 6, 2018 · 0 comments
Open

Elevate zoom problem... #176

pawansbisht1996 opened this issue Mar 6, 2018 · 0 comments

Comments

@pawansbisht1996
Copy link

pawansbisht1996 commented Mar 6, 2018

Elevate zoom is not working ob my shopify store it's working only for first image. I want it's work for all like first image...
this is the store url -
https://posherjewelry.com/collections/color-silver/products/techiya
here is my code -


 $('.zoom_01').elevateZoom({
      zoomType: "inner",
      cursor: "crosshair",
      zoomWindowFadeIn: 500,
      zoomWindowFadeOut: 750
    });

    $('li.thumbnails-wrapper').on('click', function(){
      var getImage = $(this).find("a").attr("data-zoom-image");
      $(".product-single__photo--flex-wrapper img.image-zoom").attr("data-zoom-image", getImage);
        $('.zoomContainer').remove();
        $('.zoom_01').removeData('elevateZoom');
        $('.zoom_01').removeData('zoomImage');

      //setTimeout(function(){
        $('.product-single__photos .zoom_01').elevateZoom({
          zoomType: "inner",
          cursor: "crosshair",
          zoomWindowFadeIn: 500,
          zoomWindowFadeOut: 750
      });
      //}, 3000);
    });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant