mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
fix dropdown js visual example
This commit is contained in:
parent
18ff57a183
commit
efae761c39
@ -22,68 +22,72 @@
|
||||
<h1>Dropdown <small>Bootstrap Visual Test</small></h1>
|
||||
</div>
|
||||
|
||||
<nav id="navbar-example" class="navbar navbar-default navbar-static-top" role="navigation">
|
||||
<div class="container-fluid">
|
||||
<nav id="navbar-example" class="navbar navbar-light bg-faded" role="navigation">
|
||||
<button class="navbar-toggler hidden-sm-up" type="button" data-toggle="collapse" data-target="#exCollapsingNavbar2">
|
||||
☰
|
||||
</button>
|
||||
|
||||
<div class="collapse navbar-toggleable-xs" id="exCollapsingNavbar2">
|
||||
|
||||
<ul class="nav navbar-nav pull-left">
|
||||
|
||||
<li class="dropdown nav-item">
|
||||
<a id="drop1" href="#" role="button" class="dropdown-toggle nav-link" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Dropdown
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="drop1">
|
||||
<li><a href="https://twitter.com/fat">Action</a></li>
|
||||
<li><a href="https://twitter.com/fat">Another action</a></li>
|
||||
<li><a href="https://twitter.com/fat">Something else here</a></li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="https://twitter.com/fat">Separated link</a></li>
|
||||
</ul>
|
||||
<div class="dropdown-menu" aria-labelledby="drop1">
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Action</a>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Another action</a>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Something else here</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Separated link</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<li class="dropdown nav-item">
|
||||
<a href="#" id="drop2" role="button" class="dropdown-toggle nav-link" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Dropdown 2
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="drop2">
|
||||
<li><a href="https://twitter.com/fat">Action</a></li>
|
||||
<li><a href="https://twitter.com/fat">Another action</a></li>
|
||||
<li><a href="https://twitter.com/fat">Something else here</a></li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="https://twitter.com/fat">Separated link</a></li>
|
||||
</ul>
|
||||
<div class="dropdown-menu" aria-labelledby="drop2">
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Action</a>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Another action</a>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Something else here</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Separated link</a>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav pull-right">
|
||||
<li id="fat-menu" class="dropdown nav-item">
|
||||
<a href="#" id="drop3" role="button" class="dropdown-toggle nav-link" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
||||
Dropdown 3
|
||||
</a>
|
||||
<ul class="dropdown-menu" aria-labelledby="drop3">
|
||||
<li><a href="https://twitter.com/fat">Action</a></li>
|
||||
<li><a href="https://twitter.com/fat">Another action</a></li>
|
||||
<li><a href="https://twitter.com/fat">Something else here</a></li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="https://twitter.com/fat">Separated link</a></li>
|
||||
</ul>
|
||||
<div class="dropdown-menu" aria-labelledby="drop3">
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Action</a>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Another action</a>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Something else here</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Separated link</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<ul class="nav nav-pills">
|
||||
<ul class="nav nav-pills m-t-lg">
|
||||
<li class="active nav-item"><a href="#" class="nav-link">Regular link</a></li>
|
||||
<li class="dropdown nav-item">
|
||||
<a id="drop4" class="nav-link" role="button" data-toggle="dropdown" href="#" aria-haspopup="true" aria-expanded="false">
|
||||
Dropdown
|
||||
</a>
|
||||
<ul id="menu1" class="dropdown-menu" aria-labelledby="drop4">
|
||||
<li><a href="https://twitter.com/fat">Action</a></li>
|
||||
<li><a href="https://twitter.com/fat">Another action</a></li>
|
||||
<li><a href="https://twitter.com/fat">Something else here</a></li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="https://twitter.com/fat">Separated link</a></li>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Action</a>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Another action</a>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Something else here</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Separated link</a>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown nav-item">
|
||||
@ -91,11 +95,11 @@
|
||||
Dropdown 2
|
||||
</a>
|
||||
<ul id="menu2" class="dropdown-menu" aria-labelledby="drop5">
|
||||
<li><a href="https://twitter.com/fat">Action</a></li>
|
||||
<li><a href="https://twitter.com/fat">Another action</a></li>
|
||||
<li><a href="https://twitter.com/fat">Something else here</a></li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="https://twitter.com/fat">Separated link</a></li>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Action</a>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Another action</a>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Something else here</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<a class="dropdown-item" href="https://twitter.com/fat">Separated link</a>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
Loading…
x
Reference in New Issue
Block a user