-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create drilldown-menu-parent-link.html
Added a visual test to check the parent link option for drilldown menus. Added to support [8595](#8595).
- Loading branch information
1 parent
4605f20
commit 8ea1f49
Showing
1 changed file
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<!doctype html> | ||
<!--[if IE 9]><html class="lt-ie10" lang="en" > <![endif]--> | ||
<html class="no-js" lang="en" dir="ltr"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<title>Foundation for Sites Testing</title> | ||
<link href="../assets/css/foundation.css" rel="stylesheet" /> | ||
<style> | ||
.is-submenu-parent-item { | ||
background: #eee; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="medium-6 row column"> | ||
<p>Parent links should be added to the top of their sub-menu as a link.</p> | ||
|
||
<ul class="vertical menu" data-drilldown data-parent-link="true"> | ||
<li> | ||
<a href="http://foundation.zurb.com/develop/getting-started.html">Develop</a> | ||
<ul class="vertical menu"> | ||
<li><a href="http://foundation.zurb.com/sites.html">Foundation for Sites</a></li> | ||
<li><a href="http://foundation.zurb.com/emails.html">Foundation for Email</a></li> | ||
<li><a href="http://foundation.zurb.com/apps.html">Foundation for Apps</a></li> | ||
<li><a href="http://foundation.zurb.com/templates.html">HTML Templates</a></li> | ||
<li><a href="http://foundation.zurb.com/sites/resources.html">Resources</a></li> | ||
<li><a href="http://foundation.zurb.com/develop/building-blocks.html">Building Blocks</a></li> | ||
<li><a href="http://foundation.zurb.com/develop/yeti-launch.html">Yeti Launch</a></li> | ||
<li><a href="http://foundation.zurb.com/develop/contribute.html">Contribute</a></li> | ||
</ul> | ||
</li> | ||
<li><a href="#">Item</a></li> | ||
<li> | ||
<a href="http://foundation.zurb.com/develop/getting-started.html">Top level Item</a> | ||
<ul class="vertical menu"> | ||
<li><a href="http://foundation.zurb.com/sites.html">Foundation for Sites</a></li> | ||
<li><a href="http://foundation.zurb.com/emails.html">Foundation for Email</a></li> | ||
<li><a href="http://foundation.zurb.com/apps.html">Foundation for Apps</a></li> | ||
<li> | ||
<a href="http://foundation.zurb.com/support/support.html">2nd level Item</a> | ||
<ul class="vertical menu"> | ||
<li><a href="http://foundation.zurb.com/sites.html">Foundation for Sites</a></li> | ||
<li><a href="http://foundation.zurb.com/emails.html">Foundation for Email</a></li> | ||
<li><a href="http://foundation.zurb.com/apps.html">Foundation for Apps</a></li> | ||
<li> | ||
<a href="http://foundation.zurb.com/support/premium-support.html">3rd level Item</a> | ||
<ul class="vertical menu"> | ||
<li><a href="http://foundation.zurb.com/sites.html">Foundation for Sites</a></li> | ||
<li><a href="http://foundation.zurb.com/emails.html">Foundation for Email</a></li> | ||
<li><a href="http://foundation.zurb.com/apps.html">Foundation for Apps</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<script src="../assets/js/vendor.js"></script> | ||
<script src="../assets/js/foundation.js"></script> | ||
<script> | ||
$(document).foundation(); | ||
</script> | ||
</body> | ||
</html> |