我使用引导站点中的示例进行了基本的选项卡式导航。如何添加动画效果(淡入和淡出),以便在单击每个选项卡时新内容淡入?
<!-- i have a basic tabbed navigation using the example from the bootstrap site. how can i add an animation effect (fade in and out) so when each tab is clicked the new content is faded in? -->
<div class="tabbable">
<ul class="nav nav-tabs nav-stacked span3">
<li class="active">
<a href="#myDashboardNav" data-toggle="tab">
<i class="icon-align-justify"></i>
My dashboard
<span class="badge badge-important">20%</span>
</a>
</li>
<li id="myfeed">
<a href="#myFeedNav" data-toggle="tab">
<i class="icon-list-alt"></i>
My feed
<span class="badge badge-important">6</span>
</a>
</li>
<li id="notifications">
<a href="#notificationsNav" data-toggle="tab">
<i class="icon-time"></i>
Notifications <span class="badge badge-important">9</span>
</a>
</li>
</ul>
<div class="tab-content span8">
<div class="tab-pane well active" id="myDashboardNav" style="height: 330px">Content1
</div>
<div class="tab-pane well" id="myFeedNav" style="height: 330px">Content2
</div>
<div class="tab-pane well" id="notificationsNav" style="height: 330px">Content3
</div>
</div>
</div>