-
Notifications
You must be signed in to change notification settings - Fork 108
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
lightbox images goes loop #24
Comments
Hi @Fabbryzz It should look like this: jQuery(document).ready(function($) {
$('a[data-rel^=lightcase]').lightcase({'swipe': true});
}); If you have Hope this fixes your issue! |
Thanks for your quick reply cbopp-art, I made a beginner's mistake.. now I have correct the code removing {'swipe': true}, and it seems the code is clean, but it still doesn't work.. |
Try to use double quotes $('a[data-rel="lightcase:myCollection:slideshow"]'); |
mmh.. nothing to do.. it still doesn't work.. It's a really weird thing.. :-\ |
Could you try with a stable version of jquery (e.g. 2.1.4)? |
@Fabbryzz jQuery(document).ready(function($) {
// Call lightcase only if DOM is ready
}); |
I have changed jquery version to 2.1.4 and now it works..! |
You're welcome! |
Hi, you made a very good plugin!
But I have a problem that I really don't understand. When I click on the images thumbs, the overlay with loader and navigation icons appear, but the images that I would open in lightbox goes loop. i checked the paths and I tried also with external images link, but it don't work.
This is the link of my test page: http://fabbryzz.it/test/lightcase.js/
Can you help me to find the matter? Thanks a lot!
The text was updated successfully, but these errors were encountered: