Solved

Help to show hidden div on hover from navigation link

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTML5 storage and web apps 11 50
Text color in a select 11 23
null, truthy, falsey confusion 25 33
sort Multi-dimensional array 6 13
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.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

733 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