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

Slide-only animation #342

Open
robfaas opened this issue Oct 23, 2024 · 2 comments
Open

Slide-only animation #342

robfaas opened this issue Oct 23, 2024 · 2 comments

Comments

@robfaas
Copy link

robfaas commented Oct 23, 2024

Hi Andre,
Very nice Lightbox!
The only thing is that I don't like as much is the fade+slide combination.
It is nice that the slide animation can be set to false, but I would be great if the animation also could be set to slide only.
Maybe this is already possible, but I cannot find out how.

@andreknieriem
Copy link
Owner

It is quite possible but it breaks the optic of the lightbox. The fade is just to make a nice transition from one picture to the next. If you set the option fadeSpeed: 0 the fade is gone, but it is a hard cut when the image changes. I personally don't like it.

@robfaas
Copy link
Author

robfaas commented Oct 28, 2024

I totaly agree. But I meant more if it is possible to get a slide transition, somewhat like this: https://biati-digital.github.io/glightbox/#examples

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