Skip to content

Instantly share code, notes, and snippets.

@cxytomo
Created October 14, 2012 08:46
Show Gist options
  • Save cxytomo/3888048 to your computer and use it in GitHub Desktop.
Save cxytomo/3888048 to your computer and use it in GitHub Desktop.
dropdown html(only mouseover)
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>dropdown-menu</title>
<link rel="stylesheet" type="text/css" href= "dropdown.css" media = "all"/>
</head>
<body>
<div class="dropdown clearfix">
<!-- Link or button to toggle dropdown -->
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="dLabel">
<li><a tabindex="-1" href="#">Action</a></li>
<li><a tabindex="-1" href="#">Another action</a></li>
<li><a tabindex="-1" href="#">Something else here</a></li>
<li class="divider"></li>
<li class="dropdown-submenu open">
<a tabindex="-1" href="#">More options</a>
<ul class="dropdown-menu">
<li><a tabindex="-1" href="#">Second level link</a></li>
<li><a tabindex="-1" href="#">Second level link</a></li>
<li><a tabindex="-1" href="#">Second level link</a></li>
<li><a tabindex="-1" href="#">Second level link</a></li>
</ul>
</li>
</ul>
</div>
<script type="text/javascript" src="dropdown.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment