biofriction-wp-theme/node_modules/foundation-sites/test/visual/responsive-toggle/responsive-toggle.html

55 lines
1.9 KiB
HTML

<!doctype html>
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]-->
<html class="no-js" lang="en" dir="ltr">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link href="http://cdnjs.cloudflare.com/ajax/libs/foundicons/3.0.0/foundation-icons.css" rel="stylesheet">
<link href="../assets/css/foundation.css" rel="stylesheet" />
</head>
<body>
<div class="title-bar" data-responsive-toggle="example-menu" data-hide-for="xxxlarge">
<button class="menu-icon" type="button" data-toggle="example-menu"></button>
<div class="title-bar-title">Menu</div>
<button class="button" type="button" data-toggle="example-dropdown2">Dropdown</button>
<div class="dropdown-pane bottom" id="example-dropdown2" data-dropdown>
<p>Just some junk that needs to be said. Or not. Your choice.</p>
</div>
<button class="menu-icon" type="button" data-toggle></button>
</div>
<div class="top-bar" id="example-menu">
<div class="top-bar-left">
<ul class="dropdown menu" data-dropdown-menu>
<li class="menu-text">Site Title</li>
<li>
<a href="#">One</a>
<ul class="menu vertical">
<li><a href="#">One</a></li>
<li><a href="#">Two</a></li>
<li><a href="#">Three</a></li>
</ul>
</li>
<li><a href="#">Two</a></li>
<li><a href="#">Three</a></li>
</ul>
</div>
<div class="top-bar-right">
<ul class="menu">
<li><input type="search" placeholder="Search"></li>
<li><button type="button" class="button">Search</button></li>
</ul>
</div>
</div>
<p>Dropdown button should only show dropdown, menu buttons should only show menu</p>
<script src="../assets/js/vendor.js"></script>
<script src="../assets/js/foundation.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>