问题
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