Link to home
Start Free TrialLog in
Avatar of Pdesignz
PdesignzFlag for United States of America

asked on

Help to show hidden div on hover from navigation link

I am newbie to javascript/jquery. I need desperate help,need to get this working in the next hour or two!!!! The example I am basing off of is on the att.com website. If yo look at the navigation where the are navigation links of bundles, wirless, digital tv... you get a hidden div that displays multiple column content and this is what I need help with. Please just provide working examples that I can copy and paste and I can come back later to try and figure out how it was done. I will provide scrrenshot in case you are wondering what I need. I will pay if can complete sooner, all can pay is $50.00. PLEASE PLEASE I NEED YOUR HELP!!!!!!!!!

The current development site can be found here, http://www.pdesignz.com/sempra-it/

Thank You
hidden-state.jpg
hover-state.jpg
Avatar of Rartemass
Rartemass
Flag of Australia image

As a quick answer, you can view the source code and the CSS via the Web Developer extension in Firefox or Chrome.
Nearly Everything with that menu is done via CSS (at least the part you are interested in).

The CSS you are after is the stuff for "secondcolumn" and "secondarymenu" and several other classes.
The menus in the HTML are the basic nested <div><ul><li> format with classes and IDs.

There isn't really a quick answer to this as you have to ensure your html is the same as the AT&T site before you can use their styles.

You have the basic layout in your site already. For example hovering over the IT Learning Center menu item displays the sub menu. From my understanding of what you want, you need a sub-sub menu that is also hidden. That is a simple matter of styling similar to the primary menu.
The AT&T site simply has a larger width for the menu and images and the divs set out a bit different.
It would be something like this:

<div class="mainmenu">
 <ul class="1st_level">
  <li id="item1">
         <div class="2nd_level_columns">
        <ul class="column1">
          <li>Item1a</li>      
          <li>item1b</li>
         </ul>
        <ul class="column2">
          <li>Item1c</li>      
          <li>item1d</li>
          </ul>
          </div><!--close 2nd_level_columns-->
 </li><!--close item1-->
  <li>Item2</li>
</ul><!--close 1st level>-->
</div><!--close mainmenu-->

You can then style each element. The 2nd_level_columns div is set with a width that spans the entire mainmenu width. Then each column can be arranged within that div via floating, positioning,etc without damaging other menu items.

I hope that helps make things clearer.
ASKER CERTIFIED SOLUTION
Avatar of Rartemass
Rartemass
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Pdesignz

ASKER

The menu that I am using is one that I found, but do not have time to dissect the css, in order to get rid of all the styles that apply to the menu. Is there an easy way to have a hidden div and within that div I can have multiple columns kind of what am looking for and these hidden divs shown on hover of the navigation links. Thanks, need to get this going asap!