Xris:CSSPopupMenu

From TYPO3Wiki

Jump to: navigation, search
This is a draft version. You're welcome to edit it.
When the content is good enough, please change the {{draft}} tag to {{review}} .



Used Ideas from: http://www.typo3.net/faq/div_aufgaben/menu_bulletlist/

Using this menu system: http://www.twinhelix.com/dhtml/fsmenu/

Put this TypoScript in the template setup section:

temp.leftnav = HMENU
temp.leftnav.wrap = <ul class="menulist" id="listMenuRoot"> | </ul>
temp.leftnav.entryLevel = 1
temp.leftnav.1 = TMENU
temp.leftnav.1 {
     expAll = 1
     NO {
       wrapItemAndSub = <li> | </li>
       stdWrap = upper
     }
     ACT = 1
     ACT {
       wrapItemAndSub = <li id="selected"> | </li>
       stdWrap = upper
     }
}
temp.leftnav.2 = TMENU
temp.leftnav.2 {
     wrap = <ul> | </ul>
     expAll = 1
     NO {
       wrapItemAndSub = <li > | </li>
       stdWrap = upper
     }
}

To be honest: It is not a pure CSS menu - i gave up on that one because since IE SP2, using behaviour scripts won't work anymore .. :-/ (and you need behaviour scripts because IE5.x has problems with :hover on tags different from links)

Personal tools