Bootstrap Dropdown无法正常运行

时间:2016-10-18 01:20:38

标签: twitter-bootstrap

我在asp.net页面上使用boostrap。我得到了最新版本的bootstrap。当我在浏览器中显示页面时,显示下拉菜单但是当我点击它或下拉箭头时,没有任何反应。这是我文件顶部的代码。任何人都知道我做错了什么?

<script runat="server">

</script>
<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">
    <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
    <title>Bootstrap 101 Template</title>

    <!-- Bootstrap -->
    <link href="bt/css/bootstrap.min.css" rel="stylesheet" />
    <link href="CustomStyles.css" rel="stylesheet">

    <script type="text/javascript" src="/bt/js/bootstrap.min.js"></script>
    <!-- <script type="text/javascript" src="/bt/bootstrap.js"></script> -->
    <!-- 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.3/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-xs-9">
           <div class="row">
            <div class="col-xs-12">
                <div class="maincontent">
                    <h1 align="center"><center><b>PEAK STUFF</b></center></h1>




<table width=780 align="center" border="0" rules=none cellpadding="6">
<tr>

<td align="center" bgcolor=#ffffff style="border-top: blank; border-bottom: solid #ffffff;">
   <div class="container">
      <div class="row">
          <div class="col-xs-12">

                <div class="dropdown">
                   <a class="dropdown-toggle" data-toggle="dropdown">
                       Test<span class="caret"></span>
                   </a>
                   <ul class="dropdown-menu">
                      <li><a href="hdr_Test.aspx">Test</a></li>
                      <li><a href="hdr_Est.aspx">Est</a></li>
                   </ul>
                 </div>
           </div>
       </div>
    </div>

</td>

</tr>
</table>

0 个答案:

没有答案