我的引导导航栏添加了一个跨度并将活动选项卡变为斜体,而不是仅将活动类添加到活动选项卡。我的代码如下:
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Wutup?!</a>
<div class="nav-collapse">
<wicket:link>
<ul class="nav">
<li><a href="NearbyEvents.html">Nearby Events</a></li>
<li><a href="Index.html">My Events</a></li>
<li><a href="ManageEvents.html">Manage My Events</a></li>
<li><a href="AboutPage.html">About</a></li>
</ul>
</wicket:link>
</div>
</div>
</div>
</div>
行为可以在这里看到:screenshot