在Zurb Foundation中淡入淡出吗? [英] Fade in tabs in Zurb Foundation?

查看:64
本文介绍了在Zurb Foundation中淡入淡出吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图找出在Zurb Foundation中是否可以很好地淡入选项卡.

I'm trying to figure out if there's setting to fade in tabs nicely in Zurb Foundation.

如果没有,是否有人知道手动实现此目标的最佳方法?

If not, does anyone know the best way to achieve this manually?

jQuery的目标是什么?

What to target in jQuery?

谢谢.

推荐答案

u.fadeIn('slow').addClass("active")在foundation.min.js的第49行上

Replace this line of code u.css("display","block").addClass("active") with u.fadeIn('slow').addClass("active") on line 49 of foundation.min.js

如果您使用的是未压缩的js
注意:我尚未测试未压缩的js
将这行代码 $ content.css('display','block').addClass('active'); 替换为 $ content.fadeIn('slow').addClass('活动"); 位于jquery.foundation.tabs.js的第36行

if you are using the uncompressed js
NB: i have not tested for uncompressed js
Replace this line of code $content.css('display', 'block').addClass('active'); with $content.fadeIn('slow').addClass('active'); on line 36 of jquery.foundation.tabs.js

这篇关于在Zurb Foundation中淡入淡出吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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