Hi,
ich habe so ein Menü:
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18:
| MENU_HEAD= HMENU MENU_HEAD.special = directory MENU_HEAD.special.value = 1 MENU_HEAD.entryLevel = 0 MENU_HEAD.1 = GMENU MENU_HEAD.1.NO = 1 MENU_HEAD.1.NO { wrap = | XY = 125, 33 backColor = #b3ca1a 10 = TEXT 10.text.field = title 10.fontColor = #ffffff 10.fontFile = fileadmin/fonts/arial.ttf 10.niceText = 1 10.fontSize = 10 10.offset = 5, 23 } |
Das auch bestens funktioniert.
Da natürlich alle Seiten unterschiedliche Namen haben und dadurch auch die Länge der jeweiligen Schrift unterschiedlich ausfällt, sieht die Navigation unregelmässig aus.
Wie bekomme ich denn da gleiche Abstände zwischen den Menüpunkten hin? Oder geht so was gar nicht?
[edit]
Wenn man richtig sucht, bekommt man auch ein Ergebnis:
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12:
| MENU_HEAD.1.NO { format = gif 5 = IMAGE 5.file = fileadmin/images/P000023_Screen_04.jpg 6 = TEXT 6.fontSize = 10 6.text.field = title 6.offset = 5,23 6.niceText=1 6.fontColor = #ffffff XY = [6.w]+40,33 } |