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

Some callback for onChange #4

Closed
zsajjad opened this issue Feb 13, 2017 · 1 comment
Closed

Some callback for onChange #4

zsajjad opened this issue Feb 13, 2017 · 1 comment

Comments

@zsajjad
Copy link

zsajjad commented Feb 13, 2017

I want to integrate this in my project but we load the images dynamically on the go... If there is some way to pass a callback that fires when slides are changed, it will be very useful for us!

@ahmednooor
Copy link
Owner

@zsajjad you will have to dynamically load the image links i.e. the anchor tags with data-hb attributes. the preloading in the plugin only starts once the user clicks on any image link to open the lightbox. the large images arent loaded unless the user clicks on the link to open the lightbox overlay.
Thanks a lot for your interest in this script :)

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

2 participants