"mega menu"
Bootstrap 3.3.0 Snippet by jaskaran

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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 ---------->
<div class="container">
<div class="row">
<h2 style="color: #1C9DDE; text-align: center;">Mega Menu By JASKARAN</h2>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="active"><a href="index.html">HOME</a></li>
<li><a href="about.html">ABOUT</a></li>
<li class="dropdown menu-large">
<a href="services.html" class="dropdown-toggle" data-toggle=""> Mega Dropdown menu</a>
<ul class="dropdown-menu megamenu row">
<li class="col-sm-3">
<ul class="main-ul">
<li class="main-ul-li"><a href="#" class="nav-child main-ul-li-a">Main menu 1</a></li>
<li class="main-ul-li"><a href="#" class="main-ul-li-a">Main menu 2</a></li>
<li class="main-ul-li"><a href="#" class="main-ul-li-a">Main menu 3</a></li>
<li class="main-ul-li"><a href="#" class="main-ul-li-a">Main menu 4</a>
<ul class="inner-ul">
<li class="inner-ul-li"><a href="#" class="inner-ul-li-a">Main menu 4.1</a></li>
<li class="inner-ul-li"><a href="#" class="inner-ul-li-a">Main menu 4.2</a></li>
<li class="inner-ul-li"><a href="#" class="inner-ul-li-a">Main menu 4.3</a></li>
</ul>
</li>
<li class="main-ul-li"><a href="#" class="main-ul-li-a">Main menu 5</a>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* Mega Menu */
.navbar-inverse{
color: #fff;
background-color: #ccc6c6;
border-color: #aca1a2;
}
.navbar-inverse .navbar-nav > li > a{
color:#333;
}
.navbar-inverse .navbar-nav > .dropdown > a .caret{
border-top-color: #fff;
border-bottom-color: #fff;
}
.navbar-inverse .navbar-brand{
color:#fff;
}
.menu-large {
position: static !important;
}
.megamenu {
left: 0%;
padding: 20px 0;
width: 76%;
border: solid 1px grey;
}
.megamenu> li > ul {
padding: 0;
margin: 0;
}
.megamenu> li > ul > li {
list-style: none;
}
.megamenu> li > ul > li > a {
display: block;
padding: 3px 20px;
clear: both;
font-weight: normal;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
$(document).ready(function () {
$(".dropdown").hover(
function () {
$('.dropdown-menu', this).stop().slideDown("slow");
},
function () {
$('.dropdown-menu', this).stop().slideUp("slow");
});
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments:

awesome...

Ashu M () - 8 years ago - Reply 0