css - 我的灯箱插件全屏闪烁?

标签 css prettyphoto

有些事情正在发生。每次我点击它并全屏查看时,它会在 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/

相关文章:

javascript - 动画 Accordion 背景

javascript - "Draggable"只垂直拖动?

html - 如何找到 :hover state using Chrome's inspector 的 CSS 减速

javascript - 实现 prettyPhoto jQuery 插件

javascript - prettyPhoto 社交工具不共享 lightbox 深层链接

css - 创建一个带有虚线边框的输入元素

css - 删除下 zipper 接并在导航栏菜单中显示其所有元素

html - 在浏览器上放大和缩小时如何保持内容在原位

jquery - 关闭 jQuery Prettyphoto 上的键盘导航

css - 在小屏幕上禁用 prettyphoto(或任何 href 链接)