top menu highlight when child menu active?

More
13 years 8 months ago #93 by bjamminb
hi

is it possible to keep the top menu category highlighted when its child menu items become the active page?

for example.. on my site, if you go to "PRESS" and then on the left side menu click "reviews" i would like the glow to remain active over "PRESS"

the reviews page is a sub-category of "press" but remains hidden on the top menu

www.bem-management.co.uk/caduga/joomla/index.php/presspage

hope you can help!

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #94 by ced1870
it should be possible but only if your press menu is the same menu but with different level items in the module configuration. Then the item 'press' will have the active parent class and you can play with css

Joomlack Webmaster and Developer
The following user(s) said Thank You: bjamminb

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #95 by bjamminb
thanks, that did the trick

is it possible to keep the fancy effect active in this situation as well?

once i go into a sublevel it disappears from the top menu, i would like it to remain highlighted and active if possible

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #96 by ced1870
in the file fancymenu_CK.js try to replace these lines
Code:
// if no active element in the menu, get out if (!$(menu).getElement('.current')) return false;

with this
Code:
// if no active element in the menu, get out if (!$(menu).getElement('.active')) return false;

Joomlack Webmaster and Developer

Please Log in or Create an account to join the conversation.

More
13 years 8 months ago #97 by bjamminb
perfect, thank you so much for the help

Please Log in or Create an account to join the conversation.

Time to create page: 0.210 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 497 guests and one member online