Solved

Help to show hidden div on hover from navigation link

Posted on 2011-09-29
3
183 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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

706 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

12 Experts available now in Live!

Get 1:1 Help Now