Full two-level navigation


/ Published in: TYPO3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. lib.mainMenu = HMENU
  2. lib.mainMenu.wrap = <ul id="navigation">|</ul>
  3. lib.mainMenu.entryLevel = 1
  4. lib.mainMenu.1 = TMENU
  5. lib.mainMenu.1 {
  6. expAll = 1
  7. NO.wrapItemAndSub = <li class="first">|</li>|*|<li>|</li>|*|<li class="last">|</li>
  8. ACT = 1
  9. ACT.wrapItemAndSub = <li class="active">|</li>
  10. ACT.ATagParams = class="active"
  11. }
  12.  
  13. lib.mainMenu.2 = TMENU
  14. lib.mainMenu.2 {
  15. wrap = <ul class="navigation-sub"> | </ul>
  16. NO.allWrap = <li class="first">|</li>|*|<li>|</li>|*|<li class="last">|</li>
  17. ACT = 1
  18. ACT.allWrap = <li class="first active">|</li>|*|<li class="active">|</li>|*|<li class="last active">|</li>
  19. ACT.ATagParams = class="active"
  20. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.