"Mega menu with tabs navigation"
Bootstrap 3.2.0 Snippet by tjuly

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <nav class="navbar navbar-default" role="navigation"> <div class="container"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-megadropdown-tabs"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> <form class="navbar-form navbar-left" role="search"> <div class="col-md-7"> <input type="text" class="form-control search" placeholder="What are you looking for" id="main-search"> </div> <div class="col-md-5"> <div class="input-group"> <input class="form-control postcode" type="text" placeholder="Enter address"> <input class="form-control distance" type="number"> </div> </div> </form> <!-- Collect the nav links, forms, and other content for toggling --> <ul class="nav navbar-nav navbar-right"> <div class="collapse navbar-collapse" id="bs-megadropdown-tabs"> <ul class="nav navbar-nav"> <li class="dropdown mega-dropdown active"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown <span class="caret"></span></a> <div class="dropdown-menu mega-dropdown-menu"> <div class="container"> <!-- Tab panes --> <div class="tab-content"> <div class="tab-pane active" id="filters"> <form class="form-inline"> <div class="row"> <input class="form-control subform" type="text"> <input class="form-control subform" type="text"> <input class="form-control subform" type="text"> </div> <div class="row"> <input class="form-control" type="text"> <input class="form-control" type="text"> <input class="form-control" type="text"> </div> <button class="btn btn-primary">Reset</button> </form> </div> </div> </li> </ul> </div><!-- /.navbar-collapse --> </div><!-- /.container-fluid --> </nav>
.nav-list { border-bottom: 1px solid #eee; } .nav-list > li { padding: 10px 15px 15px; border-left: 1px solid #eee; } .nav-list > li:last-child { border-right: 1px solid #eee; } .nav-list > li > a:hover { text-decoration: none; } .nav-list > li > a > span { display: block; font-weight: bold; text-transform: uppercase; } .mega-dropdown { position: static !important; } .mega-dropdown-menu { padding: 10px 15px 15px; text-align: center; width: 100%; } .form-control.search { font-size: 12px; color: #555; background-color: #fff; border-bottom: 1px solid #ccc; border-radius: 4px; } #main-search { font-size: 24px; border: none; background-color: #f3f3f3; border-bottom: 2px solid #5b6261; border-radius: 0; box-shadow: none; padding-left: 15px; padding-right: 15px; color: #5b6261; margin-left: 10px; } .postcode { background: #d8d8d8; border-top-right-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 30px; border-bottom-left-radius: 30px; max-width: 110px; } .distance { color: #fff; background: #2baba8; border: none; border-top-right-radius: 30px; border-bottom-right-radius: 30px; max-width: 100px; }
$(document).ready(function(){ $(".dropdown").hover( function() { $('.dropdown-menu', this).stop( true, true ).slideDown("fast"); $(this).toggleClass('open'); }, function() { $('.dropdown-menu', this).stop( true, true ).slideUp("fast"); $(this).toggleClass('open'); } ); });

Related: See More


Questions / Comments: