0
我想用bootstrap製作一個響應式導航欄。但是,下拉菜單無法正常工作。Twitter Bootstrap,導航欄,下拉不能正常工作
我想在品牌名稱下拉下來,而不是與它一起。
這裏是我的代碼:
<html>
<head>
<meta name="viewport" content="width=device-width, intial-scale=1.0">
<link href="css/bootstrap.min.css" type="text/css" rel="stylesheet">
</head>
<body>
<div class="navbar navbar-inverse navbar-static-top">
<div class="container">
<a href="#" class="navbar-brand">ACUPRESSURE</a>
<button type="button" class = "navbar-toggle" data-toggle ="collapse" data-target = ".navHeaderCollapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class = "collapse navbar-collapse navHeaderCollapse">
<ul class="nav navbar-nav navbar-right">
<li><a href ="#">Home</a></li>
<li><a href ="#">Home</a></li>
<li><a href ="#">Home</a></li>
<li><a href ="#">Home</a></li>
<li><a href ="#">Home</a></li>
</ul>
</div>
</div>
</div>
<script src= "http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"> </script>
<script src= "js/bootstrap.js"></script>
</body>
</html>
非常感謝你。我是新來的。你能告訴我一些我可以學習的在線資源嗎? –