add animation, stop automatic slideshow when interacted with
This commit is contained in:
1 parent
132828389b
commit
8c1546ef7f
3 files changed
+22
-2
No files matched your search
@@ -27,6 +27,9 @@ function moveLightboxItem(id, n) {
|
||||
// Next/previous controls for slideshow
|
||||
function moveSlideshowItem(id, n) {
|
||||
showItem(slideshow_baseid, id, imageIndex[id] += n, ".snap-image");
|
||||
|
||||
// Kill automatic slideshow once the slideshow has been moved
|
||||
clearInterval(autoSlideshow);
|
||||
}
|
||||
|
||||
// In the slideshow or lightbox, make a specific image visible, make others hidden
|
||||
|
||||
Reference in new issue
Block a user