[TYPO3-english] GMENU rollover

Michael de Jong dej.michael at hotmail.com
Thu Jun 6 09:29:47 CEST 2013


Hi All,

So i have this GMENU:

# NAVIGATION
        MAINNAV = HMENU
        MAINNAV.1 = GMENU
        MAINNAV.1.wrap = <ul>|</ul>
        MAINNAV.1.expAll = 1
        MAINNAV.1{
            NO{
                wrap = <li>|
                backColor = #3544A1
                XY = [10.w]+20,45

                10 = TEXT
                10.text.field = title
                10.fontFile = fileadmin/fonts/franklingothicbook.ttf
                10.fontSize = 16
                10.fontColor = #FFFFFF
                10.offset = 0,29
                10.align = center 
            }
            RO < .NO
            RO = 1
            RO{
                backColor = #131D54
                10.fontColor = #667AEC
            }
            ACT < .RO  
            ACT = 1
        }

        MAINNAV.2 = GMENU
        MAINNAV.2.wrap = <ul class="sub-nav">|</ul></li>
        MAINNAV.2{
            NO{
                wrap = <li>|</li>
                backColor = #131D54
                XY = [10.w]+20,20

                10 = TEXT
                10.text.field = title
                10.fontFile = fileadmin/fonts/franklingothicbook.ttf
                10.fontSize = 12
                10.fontColor = #FFFFFF
                10.offset = 0,15
                10.align = center 
            }
            RO < .NO
            RO = 1
            RO{
                10.fontColor = #667AEC
            }
            ACT < .RO  
            ACT = 1
        }

There probably is a better way to make it and smaller. But my question is:

When i rollover the sub-menu the RO from the main menu doesn't light up with the RO state of the first menu, does anybody know how i can fix this?

Greetz,
Michael


More information about the TYPO3-english mailing list