"Admin Nav Bar with Popup Sign in"
Bootstrap 2.3.2 Snippet by ccela

<link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="navbar"> <div class="navbar-inner"> <div class="container-fluid"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> </a> <div class="nav-collapse collapse"> <ul class="nav pull-right"> <li class="divider-vertical"></li> <li class="dropdown"> <a class="dropdown-toggle" href="#" data-toggle="dropdown">Sign In <strong class="caret"></strong></a> <div class="dropdown-menu" style="padding: 15px; padding-bottom: 0px;"> <form method="post" action="login" accept-charset="UTF-8"> <input style="margin-bottom: 15px;" type="text" placeholder="Clave" id="username" name="username"> <input style="margin-bottom: 15px;" type="password" placeholder="Confirmar Clave" id="password" name="password"> <input class="btn btn-primary btn-block" type="submit" id="sign-in" value="Grabar"> </form> </div> </li> </ul> </div> <!--/.nav-collapse --> </div> <!--/.container-fluid --> </div> <!--/.navbar-inner --> </div> <!--/.navbar -->
$(document).ready(function(){ //Handles menu drop down $('.dropdown-menu').find('form').click(function (e) { e.stopPropagation(); }); });

Related: See More


Questions / Comments: