2017-10-03 18:34:59 +02:00
|
|
|
<!doctype html>
|
2017-10-22 14:02:24 +02:00
|
|
|
<html lang="en">
|
2016-11-12 16:12:58 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2018-12-16 15:39:48 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2016-11-12 16:12:58 +01:00
|
|
|
<link rel="stylesheet" href="../../../dist/css/bootstrap.min.css">
|
|
|
|
<title>Dropdown</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="container">
|
|
|
|
<h1>Dropdown <small>Bootstrap Visual Test</small></h1>
|
2014-06-08 04:11:44 +02:00
|
|
|
|
2017-06-26 03:29:43 +02:00
|
|
|
<nav class="navbar navbar-expand-md navbar-light bg-light">
|
2017-03-21 07:13:34 +01:00
|
|
|
<a class="navbar-brand" href="#">Navbar</a>
|
|
|
|
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
|
2016-12-31 06:56:10 +01:00
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
<div class="collapse navbar-collapse" id="navbarResponsive">
|
|
|
|
<ul class="navbar-nav">
|
2016-11-12 16:12:58 +01:00
|
|
|
<li class="nav-item active">
|
2020-10-14 12:59:43 +02:00
|
|
|
<a class="nav-link" href="#" aria-current="page">Home</a>
|
2016-11-12 16:12:58 +01:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Link</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Link</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item dropdown">
|
|
|
|
<a class="nav-link dropdown-toggle" href="#" id="dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
|
|
|
|
<div class="dropdown-menu" aria-labelledby="dropdown">
|
|
|
|
<a class="dropdown-item" href="#">Action</a>
|
|
|
|
<a class="dropdown-item" href="#">Another action</a>
|
|
|
|
<a class="dropdown-item" href="#">Something else here</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2014-06-08 04:11:44 +02:00
|
|
|
|
2016-11-12 16:12:58 +01:00
|
|
|
<ul class="nav nav-pills mt-3">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link active" href="#">Active</a>
|
2015-08-19 04:42:27 +02:00
|
|
|
</li>
|
2016-11-12 16:12:58 +01:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Link</a>
|
2015-08-19 04:42:27 +02:00
|
|
|
</li>
|
2016-11-12 16:12:58 +01:00
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="#">Link</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item dropdown">
|
2018-09-28 12:59:45 +02:00
|
|
|
<a class="nav-link dropdown-toggle" href="#" id="dropdown2" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropdown</a>
|
2016-11-12 16:12:58 +01:00
|
|
|
<div class="dropdown-menu" aria-labelledby="dropdown2">
|
|
|
|
<a class="dropdown-item" href="#">Action</a>
|
|
|
|
<a class="dropdown-item" href="#">Another action</a>
|
|
|
|
<a class="dropdown-item" href="#">Something else here</a>
|
2015-08-19 04:42:27 +02:00
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2017-04-17 14:26:40 +02:00
|
|
|
|
2017-05-17 22:03:11 +02:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12 mt-4">
|
|
|
|
<div class="btn-group dropup">
|
2017-05-22 16:14:10 +02:00
|
|
|
<button type="button" class="btn btn-secondary">Dropup split</button>
|
2017-05-17 22:03:11 +02:00
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
2017-05-22 16:14:10 +02:00
|
|
|
<span class="sr-only">Dropup split</span>
|
2017-05-17 22:03:11 +02:00
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<a class="dropdown-item" href="#">Action</a>
|
|
|
|
<a class="dropdown-item" href="#">Another action</a>
|
|
|
|
<a class="dropdown-item" href="#">Something else here</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-05-22 16:14:10 +02:00
|
|
|
<div class="btn-group dropup">
|
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropup</button>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<a class="dropdown-item" href="#">Action</a>
|
|
|
|
<a class="dropdown-item" href="#">Another action</a>
|
|
|
|
<a class="dropdown-item" href="#">Something else here</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2017-05-17 22:03:11 +02:00
|
|
|
<div class="btn-group">
|
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
This dropdown's menu is right-aligned
|
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu dropdown-menu-right">
|
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-22 16:14:10 +02:00
|
|
|
</div>
|
2017-10-29 23:29:13 +01:00
|
|
|
|
2017-05-22 16:14:10 +02:00
|
|
|
<div class="col-sm-12 mt-4">
|
|
|
|
<div class="btn-group dropup" role="group">
|
|
|
|
<a href="#" class="btn btn-secondary">Dropup split align right</a>
|
|
|
|
<button type="button" id="dropdown-page-subheader-button-3" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
<span class="sr-only">Product actions</span>
|
2017-05-17 22:03:11 +02:00
|
|
|
</button>
|
2017-05-22 16:14:10 +02:00
|
|
|
<div class="dropdown-menu dropdown-menu-right">
|
2017-05-17 22:03:11 +02:00
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
2017-05-22 16:14:10 +02:00
|
|
|
<button class="dropdown-item" type="button">Something else here with a long text</button>
|
2017-05-17 22:03:11 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-22 16:14:10 +02:00
|
|
|
<div class="btn-group dropup">
|
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Dropup align right</button>
|
|
|
|
<div class="dropdown-menu dropdown-menu-right">
|
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here with a long text</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-10-29 23:29:13 +01:00
|
|
|
|
|
|
|
<div class="col-sm-12 mt-4">
|
|
|
|
<div class="btn-group dropright" role="group">
|
|
|
|
<a href="#" class="btn btn-secondary">Dropright split</a>
|
|
|
|
<button type="button" id="dropdown-page-subheader-button-4" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
<span class="sr-only">Product actions</span>
|
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here with a long text</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="btn-group dropright">
|
|
|
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuRight" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
Dropright
|
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu" aria-labelledby="dropdownMenuRight">
|
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- dropleft -->
|
|
|
|
<div class="btn-group dropleft" role="group">
|
|
|
|
<a href="#" class="btn btn-secondary">Dropleft split</a>
|
|
|
|
<button type="button" id="dropdown-page-subheader-button-5" class="btn btn-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
<span class="sr-only">Product actions</span>
|
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here with a long text</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="btn-group dropleft">
|
|
|
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropleftMenu" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
|
|
Dropleft
|
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu" aria-labelledby="dropleftMenu">
|
|
|
|
<button class="dropdown-item" type="button">Action</button>
|
|
|
|
<button class="dropdown-item" type="button">Another action</button>
|
|
|
|
<button class="dropdown-item" type="button">Something else here</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-05-17 22:03:11 +02:00
|
|
|
</div>
|
2018-01-21 19:09:23 +01:00
|
|
|
</div>
|
2017-10-29 23:29:13 +01:00
|
|
|
|
2018-01-21 19:09:23 +01:00
|
|
|
<div class="row">
|
2018-02-12 01:45:59 +01:00
|
|
|
<div class="col-sm-3 mt-4">
|
2018-01-21 19:09:23 +01:00
|
|
|
<div class="btn-group dropdown">
|
2018-02-12 01:45:59 +01:00
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" data-offset="10,20">Dropdown offset</button>
|
2018-01-21 19:09:23 +01:00
|
|
|
<div class="dropdown-menu">
|
|
|
|
<a class="dropdown-item" href="#">Action</a>
|
|
|
|
<a class="dropdown-item" href="#">Another action</a>
|
|
|
|
<a class="dropdown-item" href="#">Something else here</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-12 01:45:59 +01:00
|
|
|
<div class="col-sm-3 mt-4">
|
2018-01-21 19:09:23 +01:00
|
|
|
<div class="btn-group dropdown">
|
|
|
|
<button type="button" class="btn btn-secondary">Dropdown reference</button>
|
|
|
|
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" data-reference="parent">
|
|
|
|
<span class="sr-only">Dropdown split</span>
|
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu">
|
|
|
|
<a class="dropdown-item" href="#">Action</a>
|
|
|
|
<a class="dropdown-item" href="#">Another action</a>
|
|
|
|
<a class="dropdown-item" href="#">Something else here</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-02-12 01:45:59 +01:00
|
|
|
<div class="col-sm-3 mt-4">
|
|
|
|
<div class="dropdown">
|
|
|
|
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" data-display="static" aria-haspopup="true" aria-expanded="false">
|
|
|
|
Dropdown menu without Popper.js
|
|
|
|
</button>
|
|
|
|
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
|
|
|
<a class="dropdown-item" href="#">Action</a>
|
|
|
|
<a class="dropdown-item" href="#">Another action</a>
|
|
|
|
<a class="dropdown-item" href="#">Something else here</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-04-17 14:26:40 +02:00
|
|
|
</div>
|
2018-01-21 19:09:23 +01:00
|
|
|
|
2017-10-29 23:29:13 +01:00
|
|
|
</div>
|
2014-06-08 04:11:44 +02:00
|
|
|
|
2019-01-15 17:01:40 +01:00
|
|
|
<script src="../../../node_modules/jquery/dist/jquery.slim.min.js"></script>
|
2018-10-13 15:05:43 +02:00
|
|
|
<script src="../../../node_modules/popper.js/dist/umd/popper.min.js"></script>
|
2016-11-12 16:12:58 +01:00
|
|
|
<script src="../../dist/util.js"></script>
|
|
|
|
<script src="../../dist/dropdown.js"></script>
|
|
|
|
<script src="../../dist/collapse.js"></script>
|
|
|
|
</body>
|
2014-06-08 04:11:44 +02:00
|
|
|
</html>
|