Solved

Help to show hidden div on hover from navigation link

Posted on 2011-09-29
3
185 Views
Last Modified: 2012-05-12
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
0
Comment
Question by:Pdesignz
  • 2
3 Comments
 
LVL 18

Expert Comment

by:Rartemass
ID: 36867874
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.
0
 
LVL 18

Accepted Solution

by:
Rartemass earned 500 total points
ID: 36868482
As a side note, you can create some good pure CSS menus from here:
http://purecssmenu.com/
0
 

Author Comment

by:Pdesignz
ID: 36870169
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!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now