top menu highlight when child menu active?
13 years 8 months ago #93
by bjamminb
top menu highlight when child menu active? was created 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!
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.
13 years 8 months ago #94
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: top menu highlight when child menu active?
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.
13 years 8 months ago #95
by bjamminb
Replied by bjamminb on topic Re: top menu highlight when child menu active?
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
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.
13 years 8 months ago #96
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: top menu highlight when child menu active?
in the file fancymenu_CK.js try to replace these lines
with this
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.
13 years 8 months ago #97
by bjamminb
Replied by bjamminb on topic Re: top menu highlight when child menu active?
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