Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: top menu highlight when child menu active?

top menu highlight when child menu active? 04 May 2011 14:47 #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!

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

Re: top menu highlight when child menu active? 04 May 2011 17:07 #94

  • ced1870
  • ced1870's Avatar
  • Away
  • Administrateur
  • Administrateur
  • Posts: 21237
  • Karma: 427
  • Thank you received: 2686
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
The following user(s) said Thank You: bjamminb

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

Joomlack Webmaster and Developer

Re: top menu highlight when child menu active? 05 May 2011 06:42 #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

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

Re: top menu highlight when child menu active? 05 May 2011 06:45 #96

  • ced1870
  • ced1870's Avatar
  • Away
  • Administrateur
  • Administrateur
  • Posts: 21237
  • Karma: 427
  • Thank you received: 2686
in the file fancymenu_CK.js try to replace these lines
// if no active element in the menu, get out
        if (!$(menu).getElement('.current')) return false;

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

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

Joomlack Webmaster and Developer

Re: top menu highlight when child menu active? 05 May 2011 08:06 #97

perfect, thank you so much for the help

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

  • Page:
  • 1
Time to create page: 0.195 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 374 guests and one member online