我开始学习使用bootstrap twitter,Bootstrap_dropdown。但我知道为什么我的编码不喜欢那个..
这是我试用下拉的编码..
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen" />
<script type="text/javascript">
$(document).ready(function ()
{
$('.dropdown-tonggle').dropdown();
});
</script>
<script src="js/jquery-2.1.0.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/dropdown.js"></script>
</head>
<body background="img/vlcsnap-2013-12-23-14h06m41s77.png">
<div class="navbar">
<div class="navbar-inner">
<div class="container">
<ul class="nav">
<li><a href="#">Home</a></li>
<li><a href="#">Projects</a></li>
<li class="dropdown">
<a data-tonggle="dropdown" class="dropdown-tonggle" href="#">Dropdown <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="#">2-level Dropdown <i class="icon-arrow-right"></i></a>
<ul class="dropdown-menu sub-menu">
<li><a href="#">Action</a></li>
<li><a href="#">Another action</a></li>
<li><a href="#">Something else here</a></li>
<li class="divider"></li>
<li class="nav-header">Nav header</li>
<li><a href="#">Separated link</a></li>
<li><a href="#">One more separated link</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>
为什么结果会这样?
我已经有了这个文件,我从getbootstrap.com获取它