We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, is it possible to create a Lightbox for each image separately and init using the JS? Like i have
<a class="spotlight" href="img1.jpg"> <img src="thumb1.jpg"> </a> <a class="spotlight" href="img2.jpg"> <img src="thumb2.jpg"> </a> <a class="spotlight" href="img3.jpg"> <img src="thumb3.jpg"> </a>
it create a group of all 3 images. I want to show only the image clicked. I can use this to customize the lightbox. data-control="autofit,close"
data-control="autofit,close"
However, I am not able to see how i can target all the images using the JS code. I tried
<script> Spotlight.show({ animation: "fade", control: ["autofit", "close"], }); </script>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, is it possible to create a Lightbox for each image separately and init using the JS? Like i have
it create a group of all 3 images. I want to show only the image clicked. I can use this to customize the lightbox.
data-control="autofit,close"
However, I am not able to see how i can target all the images using the JS code. I tried
The text was updated successfully, but these errors were encountered: