Fancybox modifiy. How to modify fancybox to stop at last item on each gallery? (gallery 1 gallery 2 etc) [duplicate]

梦想的初衷 提交于 2019-12-02 13:22:09

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

You can read more about the options in the fancybox docs

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!