Skip to content Skip to sidebar Skip to footer

Fancybox Modifiy. How To Modify Fancybox To Stop At Last Item On Each Gallery? (gallery 1 Gallery 2 Etc)

I'm using fancybox plugin for my photo gallery. I have multiple galleries with more items (photos) and I want to know how to stop the slideshow when hits the last item on each gall

Solution 1:

You need to add the option loop: false when calling in fancybox.

You can read more about the options in the fancybox docs

Solution 2:

I manage to resolve this issue so i post the answer: fancybox verifies gallerys with data-fancybox-group and i put on earch gallery a different data-facybox-group "name: Ex: gallery 1: "data-fancybox-group="thumb1"...... gallery 2: "data-fancybox-group="thumb2"..... gallery 3: "data-fancybox-group="thumb3"

It worked for me.

Post a Comment for "Fancybox Modifiy. How To Modify Fancybox To Stop At Last Item On Each Gallery? (gallery 1 Gallery 2 Etc)"