jQuery Mega Drop Down Menu Plugin
Examples
Basic (minimum required) Styling With Default Plugin Settings: Items Per Row: 3, Speed: Fast, Effect: Fade In
$('#mega-menu-2').dcMegaMenu();
Using A Sample Skin
The download zip file also comes with 8 different skins giving an example of more advanced styling. To use one of these skins wrap the mega menu in a div tag and assign the div with a class to match the skin name – e.g class=”black” and the mega menu ul tag with class=”mega-menu”.
Then add the relevant css file to the head of the document.
Skin: Black, Items Per Row: 1, Speed: Fast, Effect: Fade In
<link href="css/skins/black.css" rel="stylesheet" type="text/css" />
$('#mega-menu-2').dcMegaMenu({
rowItems: '1',
speed: 'fast'
});
Skin: Grey, Items Per Row: 2, Speed: Fast, Effect: Fade In
<link href="css/skins/grey.css" rel="stylesheet" type="text/css" />
$('#mega-menu-3').dcMegaMenu({
rowItems: '2',
speed: 'fast'
});
Skin: Blue, Items Per Row: 3, Speed: Fast, Effect: Fade In, Event: Click
<link href="css/skins/blue.css" rel="stylesheet" type="text/css" />
$('#mega-menu-4').dcMegaMenu({
rowItems: '3',
speed: 'fast',
effect: 'fade',
event: 'click'
});
Skin: Orange, Items Per Row: 4, Speed: Fast, Effect: Fade In
<link href="css/skins/orange.css" rel="stylesheet" type="text/css" />
$('#mega-menu-5').dcMegaMenu({
rowItems: '4',
speed: 'fast'
});
Skin: Red, Items Per Row: 3, Speed: Slow, Effect: Slide Down
<link href="css/skins/red.css" rel="stylesheet" type="text/css" />
$('#mega-menu-6').dcMegaMenu({
rowItems: '3',
speed: 'slow',
effect: 'slide'
});
Skin: Green, Items Per Row: 3, Speed: Fast, Effect: Slide Down
<link href="css/skins/green.css" rel="stylesheet" type="text/css" />
$('#mega-menu-7').dcMegaMenu({
rowItems: '3',
speed: 'fast',
effect: 'slide'
});
Skin: Light Blue, Items Per Row: 3, Speed: Fast, Effect: Fade In
<link href="css/skins/light_blue.css" rel="stylesheet" type="text/css" />
$('#mega-menu-8').dcMegaMenu({
rowItems: '3',
speed: 'fast'
});
Skin: White, Items Per Row: 3, Speed: Fast, Effect: Fade In
<link href="css/skins/white.css" rel="stylesheet" type="text/css" />
$('#mega-menu-9').dcMegaMenu({
rowItems: '4',
speed: 'fast'
});
Advanced Mega Menu Custom Styling
For an example of custom CSS and advanced styling using background images to enhance the menu layout check out the advanced styling page.






