Zum Inhalt springen

GMENU will nicht

Erstellt am 8. Juni 2009 · 2 Antworten · letzte Antwort am 8. Juni 2009

Tags: Frage

Midget ·

Ich sitz jetzt schon seit Stunden und habe so ziemlich alle Forumsbeitäge gelesen - leider bis jetzt ohne Erfolg.

Ich möchte einfach nur ein horizontales GMENU einbauen, das aus zwei Boxen und einem Text besteht. Alles, was ich jedoch angezeigt bekomme, sind die zwei Boxen.

Hier das Script:

navigation = HMENU
navigation {
entryLevel = 0
1 = GMENU
1.NO = 1
1.NO {
XY = [30.w]+20,35
backColor = #f7e1d0
10 = IMAGE
10 {
file = GIFBUILDER
file {
XY = [30.w]+20,35
backColor = #f7e1d0
10 = BOX
10 {
dimensions = 0,0,[30.w]+20,35
color = #f7e1d0
}
20 = BOX
20 {
dimensions = 0,4,[30.w]+20,27
color = #d56b13
}
30 = TEXT
30 {
text.field = title
fontColor = #ffffff
fontFile = fileadmin/templates/fonts/FUTURABC.TTF
fontSize = 13
niceText = 0
offset = 25,15
text.case = upper
}
}
}
}

Was bitte mache ich falsch?! #angry#

igorshmigor ·

Da ist ein bißchen was mit der Verschachtelung schief gelaufen.
Versuch mal das hier:

navigation = HMENU
navigation {
    entryLevel = 0
    1 = GMENU
    1.NO = 1
    1.NO {
        XY = [30.w]+40,35
        backColor = #f7e1d0
        10 = BOX
        10 {
              dimensions = 0,0,[30.w]+40,35
              color = #f7e1d0
        }
        20 = BOX
        20{
              dimensions = 0,4,[30.w]+40,27
              color = #d56b13
        }
        30 = TEXT
        30 {
              text.field = title
              fontColor = #ffffff
              fontFile = fileadmin/templates/fonts/FUTURABC.TTF
              fontSize = 13
              niceText = 0
              offset = 25,15
              text.case = upper
        }
    }      
}