[TYPO3] GMENU with speciel function...
Anders Kongsted
typo3 at kongsted.dk
Mon Feb 4 20:06:08 CET 2008
Hi,
(Sorry I send this email again, but I think my email drowned in the
problem with the list last sunday.)
I have a GMENU there is working correct, so thats greate. But I have a
little extra challenge... On the 6th element I want another image
instead of text on RO and ACT. How can I do that?
My currently menu-code:
lib.menu1 = HMENU
lib.menu1 {
minItems = 8
maxItems = 8
1 = GMENU
1 {
SPC.allWrap= <div style="float: left; margin-right: 2px;"> | </div>
SPC.XY = 82,20
SPC.backColor = #F9F9F9
SPC = 1
NO = 1
NO {
wrap = |*| <div style="float: left; margin-right: 2px;"> | </div>
|*| <div style="float: left;"> | </div>
XY = 82,20
backColor = #F9F9F9
5 = IMAGE
5 {
file.import = fileadmin/menuImages/
file.import.listNum = 0
file.import.override.field = media
align = center
}
}
RO < .NO
RO = 1
RO {
backColor = #7a7b7d
5 >
10 = TEXT
10 {
text.field = title
fontSize = 10
offset = 0,14
align = center
niceText = 0
fontColor = #FFFFFF
}
}
ACT < .RO
ACT = 1
ACT.backColor = #000000
}
}
Regard
Anders Kongsted
More information about the TYPO3-english
mailing list