Fancybox修改.如何修改fancybox以在每个画廊的最后一个项目停下来? (图库1画廊2等) [英] Fancybox modifiy. How to modify fancybox to stop at last item on each gallery? (gallery 1 gallery 2 etc)
问题描述
我正在为我的相册使用fancybox插件.我有多个带有更多项目(照片)的画廊,我想知道在每个画廊中碰到最后一个项目时如何停止幻灯片放映.我的fancybox.js未被修改.谢谢
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 gallery. My fancybox.js was not modified. Thanks
推荐答案
我设法解决了这个问题,所以我发布了答案:fancybox验证具有data-fancybox-group的画廊,而我在earch画廊上放置了另一个data-facybox-组名称:例如:画廊1:" data-fancybox-group ="thumb1" ...... 图库2:"data-fancybox-group ="thumb2" ..... 画廊3:"data-fancybox-group ="thumb3"
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"
对我有用.
这篇关于Fancybox修改.如何修改fancybox以在每个画廊的最后一个项目停下来? (图库1画廊2等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!