Fancybox,自定义打开过渡 [英] Fancybox, Custom Open Transition

查看:17
本文介绍了Fancybox,自定义打开过渡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道您如何使用自定义打开转换打开一个 fancyBox:

Does anyone know how you open a fancyBox with a custom open transition:

http://fancyapps.com/fancybox/

我希望实现与此处找到的示例类似的转换:

Im looking to achieve a similar transition to the example found here:

http://www.zurb.com/playground/reveal-modal-plugin

我喜欢显示插件,但它没有一些我需要的功能,而 fancyBox 为新项目提供的功能

I love the reveal plugin but its not got a few of the features I require that fancyBox does for a new project

非常感谢,

山姆

推荐答案

Fancybox 的打开效果可以和你提供的样例一样,但关闭效果不一样.

Fancybox can have the same opening effect as in the sample you provided but not the same closing effect though.

要达到同样的打开效果,试试这个选项:

To achieve the same opening effect, try this option:

openMethod : 'changeIn'

要在画廊之间的过渡期间保持相同的效果,请尝试以下选项:

to keep the same effect during transition between galleries, try this option:

nextMethod: 'changeIn'

.

这篇关于Fancybox,自定义打开过渡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆