<<header>
<nav class="navbar navbar-default top-postion navbar-up" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#"><img src="images/kotakku-icon.png"> Kotakku</a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-tabs navbar-right navbar-menu" role ="tablist">
<li><a href="#home">Home</a></li>
<li><a href="#product">Product</a></li>
<li><a href="#team">Team</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</nav>
如何使用導航欄下拉時滾動更換導航欄補課,並在滾動時再返回類的網頁
請用完整的代碼 – 2014-10-09 06:25:51
解釋當然我會編輯答案 – 2014-10-09 06:26:12
我已經更新了th e應答,這應該工作 – 2014-10-09 06:30:55