WebsiteBaker Support (2.8.x) > Templates, Menus & Design

a:current?

<< < (4/5) > >>

Ogierini:
You are fantastic,
Thank you very much.

It wasn't lazyness... I just don't see the solution. But the more you try the more it seems to be logic.

anywell, Thanks a lot!



Stefek:

--- Quote from: Ogierini on March 14, 2010, 05:30:39 PM ---But the more you try the more it seems to be logic.

--- End quote ---

That's right, Irene...

I am glad that I was able to help you out with this.

Regards,
Stefek

Ogierini:

Maybe the site is tired.... but all of a suddon the menu disappears now and then.
When you click throu the website sometimes it's gne, and after clicking F5 it appears again, but that's a bit balen....

http://www.idealcooking.nl/cms/

Stefek:
Hello Irene,

I cant't help you with this, because I can't reproduce this bug on my browser.


But I have another hint for your show_menu2 call.

Change:
$aItemOpen = &#39;<li><a href="[url]" target="[target]"[if(level==0 && class==menu-current){ class="active"}]>[menu_title]</a>&#39;,

into:
$aItemOpen = &#39;<li><a href="[url]" target="[target]"[if(level==0 && class==menu-current || class==menu-parent){ class="active"}]>[menu_title]</a>&#39;,

In this case, the "icon/logo" will show in the menu on the parent, when it's child is active.
I have overseen this before.

Try it out and let me know if you like it ;-)

R,
Stefek

Ogierini:
Yes,
 this is beautifull thank you!
I haven't seen the disapear thingie again. Strange but fortunate!

Well thanks again for your help!





Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version