Typoscript menu example


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



Copy this code and paste it in your HTML
  1. ### Typoscript Code ##########
  2. lib.submenu_lache= COA
  3. lib.submenu_lache{
  4. wrap = <div class="menu_left">|</div>
  5. 10 = TEXT
  6. 10{
  7. data = leveltitle : 1
  8. wrap = <div class="menu_left_top_tut">|</div>
  9. }
  10. 15 = HMENU
  11. 15{
  12. entryLevel = 1
  13. wrap = <div class="menu_left_menu" >|</div>
  14. 1 = TMENU
  15. 1{
  16. wrap = <ul id='menuList'>|</ul>
  17. noBlur =1
  18. ACT=1
  19. ACTIFSUB = 1
  20. NO{
  21. wrapItemAndSub = <li class='menuItem'>|</li>
  22. ATagParams = class='menuLink'
  23. }
  24. ACT{
  25. wrapItemAndSub = <li class='menuItem'>|</li>
  26. ATagParams = class='menuLinkAct'
  27. }
  28. ACTIFSUB{
  29. wrapItemAndSub = <li class='menuItem'>|</li>
  30. ATagParams = class='menuLinkAct'
  31. }
  32. }
  33. 2 = TMENU
  34. 2{
  35. noBlur = 1
  36. ACT = 1
  37. ACTIFSUB = 1
  38. wrap = <ul class='submenuList'>|</ul>
  39. NO{
  40. wrapItemAndSub = <li class='submenuItem'>|</li>
  41. ATagParams = class='submenuLink'
  42. }
  43. ACT{
  44. wrapItemAndSub = <li class='submenuItem'>|</li>
  45. ATagParams = class='submenuLinkAct'
  46. }
  47. ACTIFSUB{
  48. wrapItemAndSub = <li class='submenuItem'>|</li>
  49. ATagParams = class='submenuLinkAct'
  50. }
  51. }
  52. }
  53. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.