编程学习网为您整理以下代码实例,主要实现:Bootstrap下拉列表的选项卡,希望可以帮到各位朋友。
<!DOCTYPE HTML>
<HTML>
<head>
<Title>Try v1.2 bootstrap Online</Title>
<link href="/bootstrap/CSS/bootstrap.min.CSS" rel="stylesheet">
<script src="/scripts/jquery.min.Js"></script>
<script src="/bootstrap/Js/bootstrap.min.Js"></script>
</head>
<body>
<p>Tabs With Dropdown Example</p>
<ul class = "nav nav-tabs">
<li class = "active"><a href = "#">Home</a></li>
<li><a href = "#">SVN</a></li>
<li><a href = "#">iOS</a></li>
<li><a href = "#">VB.Net</a></li>
<li class = "dropdown">
<a class = "dropdown-toggle" data-toggle = "dropdown" href = "#">
Java
<span class = "caret"></span>
</a>
<ul class = "dropdown-menu">
<li><a href = "#">Swing</a></li>
<li><a href = "#">jMeter</a></li>
<li><a href = "#">EJB</a></li>
<li class = "divIDer"></li>
<li><a href = "#">Separated link</a></li>
</ul>
</li>
<li><a href = "#">PHP</a></li>
</ul>
</body>
</HTML>
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!