Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HTML
	<nav class="navbar navbar-default" role="navigation">
		<div class="container-fluid">
			<a class="navbar-brand" href="index.html">WebDevMentors</a>
		
		<div class="navbar-header navbar-right">
			<ul class="nav navbar-nav">
				<li><a href="index.html">HOME</a></li>
				<li><a href="index.html">ABOUT</a></li>
				<li><a href="index.html">CONTACT</a></li>

				<li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Dropdown <span class="caret"></span></a>
          <ul class="dropdown-menu" role="menu">
            <li><a href="#">Action</a></li>
            <li><a href="#">Another action</a></li>
            <li><a href="#">Something else here</a></li>
            <li class="divider"></li>
            <li><a href="#">Separated link</a></li>
            <li class="divider"></li>
            <li><a href="#">One more separated link</a></li>
          </ul>
        </li>
      
     
			
			</ul>
		</div>
		</div>
	</nav>

<script type="js/jquery"><script>
<script type="js/bootstrap.min.js"><script>
Posted
Comments
KaushalJB 17-Nov-14 9:00am    
Please check the references that you have added in <src> and go for this link http://www.tutorialrepublic.com/twitter-bootstrap-tutorial/bootstrap-dropdowns.php
vbmike 17-Nov-14 10:06am    
Your calls to add jquery and bootstrap files are incorrect. Instead of 'type' they need a 'src=' statement that points to the file locations. GoTo http://www.w3schools.com/js/js_whereto.asp. for a starter on where/what/when to do stuff. ALSO, the bootstrap documentation is actually pretty good at explaining things...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900