为什么这个下拉菜单拉不了?
bootstrap吧
全部回复
仅看楼主
level 1
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>上课签到</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="dropdown">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="ture" aria-label="Left Align">
<span class="glyphicon glyphicon-align-justify" aria-hidden="true">
</span>
</button>
<ul class="dropdown-menu" role="menu">
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">个人信息</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">我的课程</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#">考勤情况</a></li>
<li role="presentation"><a role="menuitem" tabindex="-1" href="#"> 我</a></li>
</ul>
</div>
</div>
</div>
</div>
<script src="jquery-2.1.1.min.js"></script>
<script src="bootstrap.min.js"></script>
</body>
</html>
2015年09月10日 06点09分 1
1