Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 08:41:22 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155553 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Highlighting top entry of active tree  (Read 274 times)
Florian.L

Offline Offline

Posts: 2


« on: October 02, 2011, 10:31:18 PM »

Hi guys,
In case the title of my question isn't understandable I will try it again:  grin
I simply want to highlight the top entry of the menu tree which contains the active page.

Test1
   Test2
       Test3
       Test4
   Test5
Test6
Test7

So if page "Test4" would be the active one I would like to highlight "Test1". "Test4" I can highlight by the CSS ID property set by show_menu(), but how can I highlight "Test1"?

In Typo3 I would know what to do - but in WB I poorly do not...

If somebody could give me a hint I would be very glad about that!

Greeting,
Florian L
Logged
DarkViper
Development Team
*****
Offline Offline

Posts: 1253


« Reply #1 on: October 03, 2011, 08:06:43 AM »

Sometimes it helps, just to read the documentation.   wink

/modules/show_menu2/README.en.txt (start at line 176)

Let SM2 generate a menue... and check the output in several situations

have a nice day....

Logged

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
Florian.L

Offline Offline

Posts: 2


« Reply #2 on: October 03, 2011, 01:29:11 PM »

Hi DarkViper,
thank you for your reply. Actually I did the menu with show_menu() not with show_menu2()... But it seems to me that it isn't possible with that one. Because of your post I pushed my self to replace the show_menu by show_menu2 and now it is working just fine. Also highlighting works just perfect now!

Thank you very much!

Greetings
Florian L
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!