0

I'm using PhotoSwipe on a page where I have four different galleries (Business Catalyst gallery modules, actually). When I open the gallery and click through the images, it doesn't stop at the end of that gallery but continues to the next gallery. I want the slideshow to stop at the last picture in the gallery so the user must close it to view the next gallery.

4

1 回答 1

0

附加照片滑动时,您需要将循环选项设置为 false。像这样:

Code.PhotoSwipe.attach(_Pictures, 
    {
        target: $('#carousel'),
        loop: false
    }
于 2013-05-28T18:00:56.220 回答