Hallo
Sehe wohl den Wald vor lauter Bäumen nicht mehr.
Denn ich habe eine oben auf der Seite eine Hauptnavigation und auf der Linken Seite ist die Subnavigation.
Aber wie mache ich das, das wenn ich die Hauptnavigation auswähle, das sich dann die Subnavigation öffnet.
NAVI_OBEN = HMENU
NAVI_OBEN.special = directory
NAVI_OBEN.special.value = 9
NAVI_OBEN.1 = GMENU
NAVI_OBEN.1.NO = 1
NAVI_OBEN.1.ATagParams = class="klein"
NAVI_OBEN.1.NO.linkWrap = | ||*| | ||*|
MENU_LINKS = HMENU
MENU_LINKS.special = directory
MENU_LINKS.special.value = 15
MENU_LINKS.entryLevel = 1
MENU_LINKS.1 = GMENU
MENU_LINKS.1.NO = 1
MENU_LINKS.1.NO {
wrap = |<br>
XY = 185, 20
backColor = #F59A15
10 = TEXT
10.text.field = title
10.fontColor = #FFFFFF
10.fontFile = fileadmin/fonts/verdanab.ttf
10.fontSize = 8
10.offset = 7, 15
20 = IMAGE
20.file = GIFBUILDER
20.file {
XY = 185,1
backColor = #FFFFFF
}
30.offset = 0, 20
}
MENU_LINKS.1.RO < .MENU_LINKS.1.NO
MENU_LINKS.1.RO {
tmp < .backColor
backColor = #996600
5 < .10
5.fontColor < .tmp
5.offset = 7,16
}
Was mache ich falsch?
Besten Dank
Gruss Onetit
Ich darf das mal anders darstellen!?!?
NAVI_OBEN = HMENU
NAVI_OBEN {
special = directory
special.value = 9
1 = GMENU
1.NO = 1
1.ATagParams = class="klein"
1.NO.linkWrap = | ||*| | ||*|
}
MENU_LINKS = HMENU
MENU_LINKS {
special = directory
special.value = 15
entryLevel = 1
1 = GMENU
1.NO = 1
1.NO {
wrap = |<br>
XY = 185, 20
backColor = #F59A15
10 = TEXT
10 {
text.field = title
fontColor = #FFFFFF
fontFile = fileadmin/fonts/verdanab.ttf
fontSize = 8
offset = 7, 15
}
20 = IMAGE
20 {
file = GIFBUILDER
file {
XY = 185,1
backColor = #FFFFFF
}
}
### Wo ist die deklaration für 30 ???
30.offset = 0, 20
}
1.RO < .MENU_LINKS.1.NO
1.RO {
tmp < .backColor
backColor = #996600
5 < .10
5.fontColor < .tmp
5.offset = 7,16
}
}
So, zum ersten: entryLevel funktioniert nicht mehr, wenn man special = directory angegeben hat. Und ausserdem funktioniert dann nur noch die erste Ebene.
Ausserdem, warum wird da überhaupt die special-Eigenschaft benutzt?
Gruß, Lars Thalheim
OK, ich habs jetzt so. Aber es geht noch nicht ganz. Das heisst, das SubMenu wird angezeigt und zwar nebeneinander.
z.b. Seite1Seite2Seite3
Ich möchte das SubMenu aber;
Seite1
Seite2
Seite3
Wenn ich aber Seite1 anwähle, wird diese zwar angezeigt, aber die andere SNAVIGATION verschwindet.
Wer kann mir weiter helfen?
### Menu oben ###
NAVIGATION = HMENU
NAVIGATION.special.value = 9
NAVIGATION.1 = TMENU
NAVIGATION.1.NO = 1
NAVIGATION.1.ATagParams = class="hnavi"
NAVIGATION.1.NO.linkWrap = | ||*| | ||*|
### SubMenu links ####
SNAVIGATION = HMENU
SNAVIGATION.special = directory
SNAVIGATION.1 = TMENU
SNAVIGATION.1.NO = 1
SNAVIGATION.1.NO {
NO {
allWrap = | <br>
beforeImg = fileadmin/images/pfeil_rot.gif
beforeROImg = fileadmin/images/pfeil_blau.gif
# beforeImgTagParams = hspace=6
RO = 1
after = <br>
ATagBeforeWrap = 1
XY = 140, 20
backColor = #F2E6AC
ATagParams = class="navi"
}
}
SNAVIGATION.2 = TMENU
SNAVIGATION.2.NO = 1
SNAVIGATION.2.NO {
wrap = | <br>
}
Gruss onetit
hi onetit,
hast du das problem mittlerweile gelöst?
grüße