Solved

DHTML Menu & link to parent and Active link

Posted on 2010-08-23
3
275 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
  • 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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 …
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

746 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now