Mega Menu Experiment 2
How do I make an mega menu experiment 2?
Mega Menu Experiment 2.A full-width mega-menu. The solution to the issue posed here: http://foundation.zurb.com/forum/posts/2082-mega-menu---full-width-dropdown-challenge. What is a mega menu experiment 2? How do you make a mega menu experiment 2? This script and codes were developed by Wing-Hou Chan on 06 December 2022, Tuesday.
Mega Menu Experiment 2 - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Mega Menu Experiment 2</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script> <link rel='stylesheet prefetch' href='https://cdnjs.cloudflare.com/ajax/libs/foundation/5.1.1/css/foundation.min.css'> <link rel="stylesheet" href="css/style.css">
</head>
<body> <div class="contain-to-grid"> <nav class="top-bar" data-topbar> <ul class="title-area"> <li class="name"><h1><a href="#">My Site</a></h1> </li> <li class="toggle-topbar menu-icon"><a href="#">Menu</a></li> </ul> <section class="top-bar-section"> <ul class="left"> <li><a href="#">Left Nav Button</a></li> <li class="divider"><li> <li class="has-dropdown megamenu not-click"><a href="#">Mega Menu</a> <ul class="dropdown dropdown-wrapper"> <li> <div> <div class="small-12 medium-6 columns"> <ul> <li><h3>Heading 1</h3></li> <li class="active"><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> </ul> </div> <div class="small-12 medium-6 columns"> <ul> <li><h3>Heading 2</h3></li> <li class="active"><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> </ul> </div> </div> </li> </ul> </li> <li class="divider"><li> </ul> <ul class="right"> <li class="active"><a href="#">Right Button Active</a></li> <li class="has-dropdown"> <a href="#">Right Button with Dropdown</a> <ul class="dropdown"> <li><a href="#">First link in dropdown</a></li> </ul> </li> </ul> </section> </nav>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/foundation/5.1.1/js/foundation.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
Mega Menu Experiment 2 - Script Codes CSS Codes
h3 { font-family: 'Open Sans', sans-serif; color: #fff !important;
}
@media only screen and (min-width: 641px) { .dropdown-wrapper { background-color: #333333 !important; padding: 10px 0; }
}
Mega Menu Experiment 2 - Script Codes JS Codes
$(document).foundation();
$(".megamenu").mouseenter(function(){ if($(window).width()>641){ $(".dropdown-wrapper").offset({left: 0}); $(".dropdown-wrapper").css("width",$(window).width()); }else{ $(".dropdown-wrapper").css("width",auto); }
});
Developer | Wing-Hou Chan |
Username | winghouchan |
Uploaded | December 06, 2022 |
Rating | 3.5 |
Size | 2,465 Kb |
Views | 16,192 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Using Foundation Topbar and Offcanvas Together | 2,537 Kb |
Fixed Width Element in Responsive Design | 2,422 Kb |
Stop Page Jumping To Top When Sticky Topbar Menu Icon Is Clicked | 2,936 Kb |
How to use Orbit with background images | 2,555 Kb |
Clearing Form With Abide Validation | 1,924 Kb |
Confirm Close Of Foundation Reveal Modal | 1,818 Kb |
Making Element Height Fill Remaining Document Space | 2,201 Kb |
Full Screen Orbit With Background Image | 2,102 Kb |
ZURB Responsive Table | 2,770 Kb |
Custom Close ZURB Foundation Reveal Modal With Image | 2,114 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
SVG email test v2.0 | M_J_Robbins | 2,090 Kb |
Social buttons | Flacu | 2,022 Kb |
React JS Movie Info App | MTushar | 4,870 Kb |
Polygon Dodecahedron in CSS | Vennsoh | 7,606 Kb |
3D flipping card | Ssaakkaa | 2,238 Kb |
SCSS Unit Conversion | Jakob-e | 8,210 Kb |
A Pen by Brendan Skousen | Bskousen | 2,954 Kb |
Blog Concept - Single Post | Marionebl | 9,603 Kb |
Fluid Grid 12 | Alexoliverwd | 2,309 Kb |
Vertical Pan Hammer.js example | Jtangelder | 2,144 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!