/ Published in: Other
Put this in your template.
Expand |
Embed | Plain Text
# ------------------------ # Meny level 1 # ------------------------ # Menu 1 cObject lib.mainMenu = HMENU lib.mainMenu.1.wrap = <ul>|</ul> # First level menu-object, textual lib.mainMenu.1 = TMENU lib.mainMenu.1 { expAll = 0 # Normal state properties NO.allWrap = <li> | </li> NO.stdWrap.htmlSpecialChars = 1 # Enable active state and set properties: ACT = 1 ACT.stdWrap.htmlSpecialChars = 1 ACT.allWrap = <li class="selected"> | </li> } # Second level menu-object, textual lib.mainMenu.2 = TMENU lib.mainMenu.2.wrap = <ul>|</ul> lib.mainMenu.2 { # Normal state properties NO.allWrap = <li> | </li> NO.stdWrap.htmlSpecialChars = 1 # Enable active state and set properties: ACT = 1 ACT.stdWrap.htmlSpecialChars = 1 ACT.allWrap = <li class="selected"> | </li> }
Comments
Subscribe to comments
You need to login to post a comment.

Thank you very much for this post. You saved my time lot.
i need one help. How can i get all menus? i need drop down menu so all sub menus should show every time not whenever visit individual parent menus.
Thanks, Sridhar