[TYPO3-dev] Fluid menu span-tag problem.
Thomas Petersen
tp at codem.dk
Mon Sep 16 21:09:21 CEST 2013
Quote: Soren Malling (sorenmalling) wrote on Mon, 16 September 2013 20:22
----------------------------------------------------
> Hi Thomas,
>
> Welcome to the cool world of Fluid.
>
> Try this in your TMENU
>
> NO {
> allWrap = |
> stdWrap.wrap = <span>|</span>
> ATagParams = class="some-css-class-for-your-a-tag"
> }
>
> Regards
>
> Søren
Hi Søren
Do u mean like this
lib.mainNavi = HMENU
lib.mainNavi.entryLevel=0
lib.mainNavi.1 = TMENU
lib.mainNavi.1 {
wrap = <ul id="navigation">|</ul>
expAll = 0
NO.allWrap = <li class="drop">|</li>
NO.allWrap = |*| | |<span> </span>|*| |
NO.ATagParams = class="some-css-class-for-your-a-tag"
RO < .NO
RO = 1
CUR < .NO
CUR = 1
CUR.allWrap = <li class="current_page_item">|</li>
CUR.allWrap = |*| | |<span> </span>|*| |
CUR.ATagParams = class="some-css-class-for-your-a-tag"
ACT < .CUR
}
More information about the TYPO3-dev
mailing list