-
Notifications
You must be signed in to change notification settings - Fork 460
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
a bug on zoom out #140
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I've launched a website about a year ago and I've used "Zoom" on the products page and it was working nicely. Since recently without any changes, there appeared an odd bug.
On mouse out, the photo will remain where the mouse left the area and doesn't go to the center!
I updated to the 1.7.21 version but the bug still remains.
This is my script to call "zoom" on a gallery:
if($('.zoom').length){ $('.zoom').zoom({url: $('.zoom img').attr('srcX')}); } if($('.gallery').length){ $('.gallery .thumbnail').on('click',function(e){ e.preventDefault(); var _srcX = $(this).attr('href'); $('.zoom img').attr('srcX',_srcX); $('.zoom img').attr('src',_srcX); }) }
Could you help me with this issue?
Thanks
The text was updated successfully, but these errors were encountered: