有些事情正在发生。每次我点击它并全屏查看时,它会在 5 秒后闪烁,然后开始每 2 秒闪烁一次? http://icpy.webs.com/prettyPhoto/index.html#prettyPhoto
最佳答案
您的灯箱处于幻灯片模式且自动启动为 true,更改为 false 将解决问题。
$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square',slideshow:3000, autoplay_slideshow: false});
更新
如果您不想使用幻灯片放映,只需将有问题的行更改为:
$(".gallery:first a[rel^='prettyPhoto']").prettyPhoto({animation_speed:'normal',theme:'light_square'});
关于css - 我的灯箱插件全屏闪烁?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18191469/