[TYPO3-UG US] Menu Question
Ron Hall
ron at busynoggin.com
Mon Nov 6 02:30:19 CET 2006
On Nov 4, 2006, at 6:10 PM, K from DC wrote:
> And here's what I ended up with:
>
> temp.rmenu = COA
> temp.rmenu {
> 10 = HMENU
> 10.special = directory
> 10.special.value = 1636
> 10.1 = TMENU
> 10.1 {
> wrap = <div id="menur"><ul>|</ul></div>
> noBlur = 1
>
> NO = 1
> NO {
> ATagParams = class="no"
> wrapItemAndSub = <li>|</li>
> }
>
> ACT = 1
> ACT {
> ATagParams = class="cur"
> wrapItemAndSub = <li>|</li>
> }
>
> ACTIFSUB = 1
> ACTIFSUB {
> ATagParams = class="act"
> wrapItemAndSub = <li>|</li>
> }
> }
>
> 10.2 < .10.1
> 10.2.wrap = <ul>|</ul>
> 10.3 < .10.2
> 10.4 < .10.2
> }
Try this:
temp.rmenu = COA
temp.rmenu {
10 = HMENU
10.special = directory
10.special.value = 1636
10.1 = TMENU
10.1 {
wrap = <div id="menur"><ul>|</ul></div>
noBlur = 1
NO = 1
NO {
ATagParams = class="no"
wrapItemAndSub = <li>|</li>
}
CUR = 1
CUR {
ATagParams = class="cur"
wrapItemAndSub = <li>|</li>
}
ACT = 1
ACT {
ATagParams = class="act"
wrapItemAndSub = <li>|</li>
}
}
10.2 < .10.1
10.2.wrap = <ul>|</ul>
10.3 < .10.2
10.4 < .10.2
}
With this when you click on a sub page, it will have a styling of
"cur and its level 1 parent page will have a styling of "act." But if
you click on a level 1 page it will have a styling of "cur"
regardless of whether it has subpages.
Ron Hall
Dallas, Texas
blog: "Adventures in TYPO3" at www.busynoggin.com/blog
web: www.busynoggin.com
More information about the TYPO3-UG-US
mailing list