Template:Http://2013.igem.org/Team:Colombia Uniandes/Bootstrap
From 2013.igem.org
(Difference between revisions)
Trafalmejo (Talk | contribs) |
Trafalmejo (Talk | contribs) |
||
Line 8,679: | Line 8,679: | ||
}); | }); | ||
</script> | </script> | ||
+ | |||
+ | |||
+ | <div class="navbar"> | ||
+ | <div class="navbar-inner"> | ||
+ | <div class="container"> | ||
+ | <ul class="nav"> | ||
+ | <a class="brand" href="#">w3resource</a> | ||
+ | <li class="active"><a href="#">Home</a></li> | ||
+ | <li><a href="#">Blog</a></li> | ||
+ | <li><a href="#">About</a></li> | ||
+ | <li><a href="#">Contact</a></li> | ||
+ | <li class="dropdown" id="accountmenu"> | ||
+ | <a class="dropdown-toggle" data-toggle="dropdown" href="#">Tutorials<b class="caret"></b></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a href="#">PHP</a></li> | ||
+ | <li><a href="#">MySQL</a></li> | ||
+ | <li class="divider"></li> | ||
+ | <li><a href="#">JavaScript</a></li> | ||
+ | <li><a href="#">HTML5</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="container-fluid"> | ||
+ | <h1>Dropdown Example</h1> | ||
+ | </div> | ||
+ | <script type="text/javascript" src="/twitter-bootstrap/twitter-bootstrap-v2/docs/assets/js/jquery.js"></script> | ||
+ | <script type="text/javascript" src="/twitter-bootstrap/twitter-bootstrap-v2/docs/assets/js/bootstrap-dropdown.js"></script> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function () { | ||
+ | $('.dropdown-toggle').dropdown(); | ||
+ | }); | ||
+ | </script> | ||
+ | - See more at: http://www.w3resource.com/twitter-bootstrap/dropdown.php#sthash.Eg2LBMEn.dpuf | ||
+ | |||
<!-- NavBar --> | <!-- NavBar --> | ||
Revision as of 20:23, 19 June 2013