Zum Inhalt springen

GMENU_layer vom GMENU aus

Erstellt am 7. Juli 2004 · Noch keine Antworten

Tags: Frage

simba ·

Hallo,
ich habe ein GMENU und möchte, dass ab der dritten ebene mein Menü ausklappt. Ich denke, dass ich da den Menü-Typ GMENU_Layer verwenden muss. Hat jemand ne Ahnung ob und wie das funkt. ich habe den Code schon geschrieben, er funkt aber nicht so wie er soll. Da klappt nichts raus. Wer kann mir einem blutigen Typo3 Layer-Anfänger weiterhelfen?
Danke und Gruss

Markus

mein TS:

#MENU GDK
MENU_GDK = HMENU
MENU_GDK.special = directory
MENU_GDK.special.value = 2
MENU_GDK.entryLevel = 1

MENU_GDK.1 = GMENU
MENU_GDK.1.NO = 1
MENU_GDK.1.NO.wrap = |<br>
MENU_GDK.1.NO {
XY = 160, 20
backColor = #FFFFFF

10 = TEXT
10.text.field = subtitle // title
10.fontFile = fileadmin/fonts/arial.ttf
10.fontSize = 10
10.fontColor = #0B0B97
10.niceText = 0
10.offset = 5, 17

20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 160, 1
backColor = #FFFFFF
}
20.offset = 0, 24
}

MENU_GDK.1.RO < .MENU_GDK.1.NO
MENU_GDK.1.RO.backColor = |*| #9C9CE1 || #9C9CE1 |*|

MENU_GDK.1.RO.5 < .MENU_GDK.1.NO.10
#MENU_GDK.1.RO.5.offset = 7,17
#MENU_GDK.1.RO.5.fontColor = #FFFFFF

MENU_GDK.1.ACT < .MENU_GDK.1.NO
MENU_GDK.1.ACT.backColor = #9C9CE1

#GMENU_LAYERS
includeLibs.tmenu_layers = media/scripts/gmenu_layers.php

MENU_GDK.2 = GMENU
MENU_GDK.2.expAll = 0
MENU_GDK.2 {
NO {
wrap = <b> | </b><BR>
XY = [10.w], [10.h]
backColor = #FFFFFF
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/index/verdana.ttf
10.fontSize = 9
10.fontColor = #9C9CE1
10.offset = 12,11
}
ACT < .NO
ACT = 1
ACT.10.wrap = <b> | </b>
ACT.10.fontColor = #000000
RO < .NO
RO = 1
RO.10.fontColor = #000000
}

MENU_GDK.2 = GMENU
MENU_GDK.4 = GMENU_LAYERS
MENU_GDK.4.expAll = 0
MENU_GDK.4 {
lockPosition = y
yPosOffset = -90
leftOffset = 152
displayActiveOnLoad = 1
hideMenuWhenNotOver = 1
hideMenuTimer = 500
freezeMouseover = 0
NO {
wrap = <b> | </b><BR>
XY = [4.w], [4.h]
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/index/verdana.ttf
10.fontSize = 12
10.fontColor = #7F7FD4
10.offset = 20,11
}
}

MENU_UEBER < .MENU_GDK
MENU_UEBER.special.value = 7
MENU_UEBER.entryLevel = 1

MENU_DIENSTE < .MENU_UEBER
MENU_DIENSTE.special.value = 13
MENU_DIENSTE.entryLevel = 1

MENU_DRITTER < .MENU_UEBER
MENU_DRITTER.special.value = 43
MENU_DRITTER.entryLevel = 1

}