Hallo,
ich habe ein GMENU.
Dieses GMENU besteht aus 3 Ebenen:
1. Hintergrundgrafik
2. BOX (nur im CUR-Zustand!)
3. TEXT
Ich habe es jetzt halbwegs hinbekommen, dass die BOX im Hintergrund des Textes angezeigt wird:
temp.main_menu = HMENU
temp.main_menu {
entryLevel = 0
maxItems = 8
1 = IMGMENU
1 {
main.10 = IMAGE
main.10.file = fileadmin/template/images/header.jpg
main.XY = [10.w], [10.h]
dWorkArea = 366,130
NO {
distrib = textX+12, 0
20 = TEXT
20 {
text.field = title
fontFile = t3lib/fonts/FaNBdR__.ttf
fontSize = 13
fontColor = white
niceText = 1
offset = 15,8
imgMap.explode = 2,2
}
}
CUR = 1
CUR {
distrib = textX+12, 0
10 = BOX
10.dimensions = 1,-10,50,20
10.color = white
20 = TEXT
20 {
text.field = title
fontFile = t3lib/fonts/FaNBdR__.ttf
fontSize = 13
fontColor = black
niceText = 1
offset = 15,8
imgMap.explode = 2,2
}
}
}
}
(bei CUR)
Aber wie mache ich es, dass die BOX (10) genauso breit ist, wie der Text (20)?
10.dimensions = 1,-10,50,20
funktioniert leider nicht, dann wird mir ueberhaupt keine weisse BOX angezeigt 🙁
Hilfe!
Danke.