我在使用平板电脑时无法获取响应式导航栏中下拉菜单中的链接以进行单击。这在桌面浏览器中运行良好,但在平板电脑上,当您单击链接时,下拉菜单关闭并且没有任何反应。我将在下面发布我的代码,但您也可以在这个 jsfiddle http://jsfiddle.net/Tapf9/中看到它。我在我的应用程序中使用 bootstrap v2.3.2 unminified 版本。
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="~/">Company x</a>
<div class="nav-collapse">
<ul class="nav">
<li class="navHome"><a href="~/"><i class="icon-home icon-white"></i> Home</a></li>
<li class="dropdown"><a class="navInst dropdown-toggle" data-toggle="dropdown">DropDown1<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="~/x/Create" >Create</a></li>
<li><a href="~/x">Search</a></li>
</ul>
</li>
<li class="dropdown "><a class="navServ dropdown-toggle" data-toggle="dropdown" href="~/ServiceTicket">DropDown2<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="~/y/Create">Create</a></li>
<li><a href="~/y">Search</a></li>
</ul>
</li>
<li class="dropdown "><a class="navPm dropdown-toggle" data-toggle="dropdown" href="~/PmTicket">DropDown3<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="~/z/Create">Create</a></li>
<li><a href="~/z">Search</a></li>
</ul>
</li>
<li id="logout"><a href="#">Logout</a></li>
</ul>
</div><!-- /.nav-collapse -->
</div><!-- /.container -->
</div><!-- /.navbar-inner -->
</div><!-- /.navbar -->
我在这里想念什么?