I am in need of creating a mega menu similar to the one depicted in the image below.
So far, I have managed to make it work to some extent as shown in this jsFiddle link.
However, I am encountering some design and functionality issues with my current implementation.
For instance, when attempting to hide the default text for each dropdown menu using
//$(this).find(".nav-info").hide();
, Menu 4 & 5 do not appear correctly on the right side.
I aim to replicate a menu layout similar to the one featured on this website. However, I do not require the default text displayed for the parent menus.
Although I made modifications to the script for showing the first list item of the submenu, it works well for Parent menu ONE and TWO but causes alignment issues for MENU FOUR and FIVE.
I would greatly appreciate assistance in resolving this issue...
CODE
<div class="container_16"> <div class="nav-main grid_16"> <div class="wrap-nav-media"> <ul id="nav-top-media"> <!-- ONE --> <li class="nav-item-1"><a href="../company-overview">Parent Menu One</a> ... <p>UPDATE:</p> <p>After attempting to hide the following HTML code block it breaks the alignment of MENU FOUR & FIVE when using <code>$(this).find(".nav-info").hide();
<div style="display: block;" class="menu-page nav-info"> <a class="thumb" rel="nofollow" title="" href=""> <div style="height:80px width:80px; background-color:yellow;float:right;">IMAGE</div> </a> <div> <p>This is Default text when i try to hide this then this menu moves to left</p> </div> </div>