[TYPO3] GMENU inherite backColor from parent page in menu
Mitja Felicijan
mitja at inbox.com
Thu Feb 8 15:06:49 CET 2007
I would tile to have graphical menu with such structure and backColors
Page 1 (backColor1)
subpage 1 (backColor1)
subpage 2 (backColor1)
subpage 3 (backColor1)
Page 2 (backColor2)
subpage 1 (backColor2)
subpage 2 (backColor2)
subpage 3 (backColor2)
Page 3 (backColor3)
subpage 1 (backColor3)
subpage 2 (backColor3)
subpage 3 (backColor3)
Here is my code witch does this
Page 1 (backColor1)
subpage 1 (backColor1)
subpage 2 (backColor2)
subpage 3 (backColor3)
Page 2 (backColor2)
subpage 1 (backColor1)
subpage 2 (backColor2)
subpage 3 (backColor3)
Page 3 (backColor3)
subpage 1 (backColor1)
subpage 2 (backColor2)
subpage 3 (backColor3)
lib.rightMenu = HMENU
lib.rightMenu {
1 = GMENU
1 {
expAll = 1
NO {
allWrap = |<br>
XY = 165,20
backColor = |*| #CFD1E2 || #F7D5B4 || #A7DACF || #FCEB98 ||
#F6B8B1 || #8CD2E8 |*|
20 = TEXT
20 {
fontColor = |*| #7C76AD || #DC651D || #0A7168 || #9D943C ||
#C7101A || #0088C7 |*|
fontFile = {$PTHroot}ttf/verdanab.ttf
fontSize = 9px
text.field = title
niceText = 0
antiAlias = 1
text.case = lower
offset = 10,14
}
}
}
2 = GMENU
2 {
NO {
allWrap = |<br>
XY = 165,20
backColor >
backColor < lib.rightMenu.1.NO.backColor
20 = TEXT
20 {
fontColor = #000000
fontFile = {$PTHroot}ttf/verdana.ttf
fontSize = 9px
text.field = title
niceText = 0
antiAlias = 1
text.case = lower
offset = 15,14
}
}
}
}
I dont know how to get color to child page. I know where I do wrong thing
backColor >
backColor < lib.rightMenu.1.NO.backColor
but have no clue how to do it different.
Greetings
Mitja
More information about the TYPO3-english
mailing list