?
Solved

DHTML Menu & link to parent and Active link

Posted on 2010-08-23
3
Medium Priority
?
289 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 …
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

719 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