如何淡化&中的标签退出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屋!
查看全文