Solved

DHTML Menu & link to parent and Active link

Posted on 2010-08-23
3
287 Views
Last Modified: 2012-05-10


I want to use DHTML Menu, but its got some major issues with regards to usability. I imagine there are ways yo fix them, I just cant seem to find them.

Sample nav:

Parent 1
----Child 1
----Child 2
----Child 3

Parent 2
----Child 1
----Child 2
----Child 3

So, with that setup, I cannot seem to get the "Parent" to be clickable at the same time it still expands/contracts.

Also, Im trying to get the "active" page to be highlighted within the leftnav. Meaning, if Im on Child2 page, i want that menu item to be a different color, indicating active location.

Any help would be great.

thanks, Mac
0
Comment
Question by:a204801
[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 17

Accepted Solution

by:
Thomas4019 earned 500 total points
ID: 33507011
The "active" menu item should have a special class like "active" on it, then you can theme it with CSS.

yeah, I agree DHTML menu has problems with usability. You can design your site around it, or you could try Nice Menus, http://drupal.org/project/nice_menus.
0
 

Author Comment

by:a204801
ID: 33507026
I love Nice Menu's, but our SEO guru thinks its not good for SEO. I disagree, I don't think its of any consequence, but Im exhausting all other options before i get back to him on my recommendation.  

For whatver reason, the .active class isn't working.  Maybe its getting overrident by something else.
0
 
LVL 17

Expert Comment

by:Thomas4019
ID: 33507044
Thanks, try using the CSS !important property.

http://webdesign.about.com/od/css/f/blcssfaqimportn.htm

It has solved many on my conflicts.
0

Featured Post

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

Question has a verified solution.

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

This article is for those that are having major problems with users upload files such as pictures to their profile. The solution is simple and has to do with correcting the directory paths. With some experimenting and testing i got it fixed. Note…
RTL (right to left) web applications aiming for audiences speaking languages like Hebrew or Arabic, are generally more complicated than the same applications aiming for audiences speaking Latin based languages. The main difference lies of course …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

630 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