943,025 Members | Top Members by Rank

Ad:
Nov 18th, 2009
0

CSS vertical menu

Expand Post »
Friends,

I need help with a vertical CSS menu. I am interested in a menu that can be found at http://www.cooper.com. It's a vertical menu with sub/sub elements. For example, click on 'Training' and see...

Is that a pure CSS menu? Or any JS involved?
Is it a dropdown menu or called something else? I don't think its dropdown.
Can anyone point me to some tutorials or help with code for a similar menu mentioned above?

Thanks in advance.
Nish
Last edited by nish1234; Nov 18th, 2009 at 7:28 pm.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
nish1234 is offline Offline
1 posts
since Nov 2009
Nov 19th, 2009
1
Re: CSS vertical menu
Hi Nish,

I'm afraid this menu isn't anything as exciting as a CSS drop-down menu or JavaScript. If you notice when you click on 'Training' that the page content also changes, as will as the sub-menu which appears below 'Training'.

This simply uses a different menu layout for each page with a sub-menu. So for example, if your on the home page the menu section "could" be:

html Syntax (Toggle Plain Text)
  1. <div id="menu">
  2. <h1>SERVICES</h1>
  3. <ul class="level_one">
  4. <li><a hef="evaluation.html">Evaluation</a></li>
  5. <li><a hef="training.html">Training</a></li>
  6. <li><a hef="org_consulting.html">Organizational Consulting</a></li>
  7. </ul>
  8. </div>

Then when your on the Training page, the code is something like:

html Syntax (Toggle Plain Text)
  1. <div id="menu">
  2. <h1>SERVICES</h1>
  3. <ul class="level_one">
  4. <li><a hef="evaluation.html">Evaluation</a></li>
  5. <li>
  6. <a hef="training.html">Training</a>
  7. <ul class="level_two">
  8. <li><a hef="idp.html">Interaction Design Practicum</a></li>
  9. <li><a hef="comm_design.html">Communicating Design</a></li>
  10. </ul>
  11. </li>
  12. <li><a hef="org_consulting.html">Organizational Consulting</a></li>
  13. </ul>
  14. </div>

But...

If your interesting in CSS Menus, check out the appropriately named CSS Menus site. You can download the files for free and tweak them where required. And most importantly, they work across ALL versions of IE, Firefox, Safari and Chrome.

Hope this helps
Last edited by laura_ci; Nov 19th, 2009 at 4:25 pm.
Reputation Points: 10
Solved Threads: 5
Junior Poster in Training
laura_ci is offline Offline
72 posts
since Jun 2009
Nov 19th, 2009
0
Re: CSS vertical menu
P.S. Welcome to Daniweb =D
Reputation Points: 10
Solved Threads: 5
Junior Poster in Training
laura_ci is offline Offline
72 posts
since Jun 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in HTML and CSS Forum Timeline: Properties of li and #divID li
Next Thread in HTML and CSS Forum Timeline: Container div is not expanding to contain side bar





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC