Create a menu

menu = COA
menu {

    wrap = <ul>|</ul>

    10 = TEXT

    # Verlinken auf Pid
    10 = TEXT
    10.value = Home
    10.stdWrap.typolink.parameter = 23
    10.wrap = <li>|</li>


    20 = HMENU

    20 {

        1 = TMENU
        1 {
            # Mit expAll alle UntermenĂ¼elemente sofort anzeigen
            expAll = 1
            NO = 1
            NO.stdWrap2.wrap = <li>|</li>
            CUR = 1
            CUR < .NO
            CUR.ATagParams = class="act"
            ACT = 1
            ACT < .CUR
        }

        2 = TMENU
        2 < .1
        2 {
            NO.stdWrap2.wrap = <li>    |</li>
            ACT < .NO
            ACT.ATagParams = class="act"
            CUR < .ACT
        }
    }
}

Be the first to comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.