Solved

Help to show hidden div on hover from navigation link

Posted on 2011-09-29
3
194 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

724 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