防止Fancybox中的“向下滑动"效果 [英] Prevent the 'slide down' effect in Fancybox
本文介绍了防止Fancybox中的“向下滑动"效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
默认情况下,当您使用fancybox从一个图像切换到另一个图像时,看起来有向下滑动的效果.
By default it looks like there is a slide down effect as you switch from image to image with fancybox.
有没有办法抑制或改变它的效果?
Is there a way to inhibit that or change it to a different effect?
谢谢!
推荐答案
例如,您可以使用API选项nextMethod: 'fade'
或选择首选的转换方法
You may use the API option nextMethod: 'fade'
for instance or choose your preferred transition method
这篇关于防止Fancybox中的“向下滑动"效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文