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

查看:114
本文介绍了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天全站免登陆