top menu highlight when child menu active?
top menu highlight when child menu active? was created by bjamminb
Posted 12 years 10 months ago #93
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!
by bjamminb
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Re: top menu highlight when child menu active?
Posted 12 years 10 months ago #94
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
by ced1870
The following user(s) said Thank You: bjamminb
Please Log in or Create an account to join the conversation.
Replied by bjamminb on topic Re: top menu highlight when child menu active?
Posted 12 years 10 months ago #95
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
by bjamminb
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Re: top menu highlight when child menu active?
Posted 12 years 10 months ago #96
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
by ced1870
Please Log in or Create an account to join the conversation.
Replied by bjamminb on topic Re: top menu highlight when child menu active?
Posted 12 years 10 months ago #97
perfect, thank you so much for the help
by bjamminb
Please Log in or Create an account to join the conversation.
Time to create page: 0.696 seconds