Highlight mainmenu when on suppage

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Thrane
Beginner
Beginner
Posts: 9
Joined: Sun Aug 05, 2007 10:20 am

Highlight mainmenu when on suppage

Post by Thrane »

Hi...

I've tried searching for a solution, but no luck.

Is it possible to hightlight the item on the main menu, when I'm on the subpage to that item?

Example:
My main menu contains these items:
Home - Download - Info

Home and Info has no subitems, downloads has:
Search - Categories

When I click Search I go to the searchpage and the Item Search is highlighted in my menu according to the manual, but not Downloads?

How can I make the mainmenu items be highlighted, when a subitem to it is clicked?

Hope it makes sense...

Regards
Thomas
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Are you using the page properties in the style for that main menu? If you are and it's not showing, I need to see your page.

Ruth
Thrane
Beginner
Beginner
Posts: 9
Joined: Sun Aug 05, 2007 10:20 am

Post by Thrane »

I'm using "pagematch":

aI("text=  Forum  ;url=/forum;showmenu=Forum; pagematch=/forum/active_topics.asp;pagematch=/forum/my_topics.asp; pagematch=/forum/search_form.asp;pagematch=/forum/search.asp; pagematch=/forum/my_topics.asp;pagematch=/forum/active_topics.asp;pagematch=/forum/empty_topics.asp;");

But it's only working on some of the submenus...
Is there af limit?
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

Hi,

Try just setting the pagematch to /forum/ That should show a match to any page under that forum subfolder.

This is kind of hard to do from just a post here. It would be much easier if I could see your page and click on the links and see what's going on.

Ruth
Thrane
Beginner
Beginner
Posts: 9
Joined: Sun Aug 05, 2007 10:20 am

Post by Thrane »

I know it would be easier, but I'm working on a closed site.

But the the /forum/ did the trick!
Thanks!!!
Post Reply