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

Make light box infinite loop #26

Open
mithz07 opened this issue Jun 28, 2016 · 2 comments
Open

Make light box infinite loop #26

mithz07 opened this issue Jun 28, 2016 · 2 comments

Comments

@mithz07
Copy link

mithz07 commented Jun 28, 2016

Is there a way to make full zoom light box to work in a loop without stop at the last image?

@kthornbloom
Copy link
Owner

There isn't an easy option for this, no. However it wouldn't be that hard
if you are familiar with jQuery. Check out lines 169-170 and 197-198.
That's where the navigation is stopped if you've reached the ends. You
would just need to set the 'nextEq' variable accordingly, and do the
functions that occur after that if statement.

On Tue, Jun 28, 2016 at 6:40 AM, mithz07 notifications@github.com wrote:

Is there a way to make full zoom light box to work in a loop without stop
at the last image?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#26, or mute the
thread
https://github.com/notifications/unsubscribe/ADKzq4tgsJTjaXQPLt79DGEfBHz4z5V2ks5qQPoZgaJpZM4I_965
.

@mithz07
Copy link
Author

mithz07 commented Jun 30, 2016

okay, thanks for the feedback. I'll try

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