如何淡化 & 中的标签?使用 Twitter Bootstrap 框架? [英] How can I fade tabs in & out with the Twitter Bootstrap framework?
本文介绍了如何淡化 & 中的标签?使用 Twitter Bootstrap 框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
jQuery UI 可以选择使用设置为淡入/淡出的标签来初始化标签,如下所示:
jQuery UI has the option to initialize tabs with the tabs set to fade in/out, like so:
$(".selector").tabs({ fx: { opacity: 'toggle' } });
Twitter Bootstrap 框架选项卡是否可以实现类似的功能?
Is something similar possible with the Twitter Bootstrap framework tabs?
推荐答案
不,但你可以添加自己的,jsFiddle
No, but you could add your own, jsFiddle
$('.tabs').tabs()
.bind('change', function (e) {
$(this).next().hide().fadeIn();
});
这篇关于如何淡化 & 中的标签?使用 Twitter Bootstrap 框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文