Prevent the 'slide down' effect in Fancybox

时光怂恿深爱的人放手 提交于 2019-12-12 23:10:18

问题


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?

Thanks!


回答1:


You may use the API option nextMethod: 'fade' for instance or choose your preferred transition method




回答2:


You just change param in nextEffect and prevEffect, we had 3 opions 'elastic', 'fade' or 'none'.



来源:https://stackoverflow.com/questions/8843029/prevent-the-slide-down-effect-in-fancybox

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