Hallo,
ich habe eine Frage. Ich habe ein Menü mit 2 Ebenen. Dabei handelt es sich um ein horizontales Menü mit der 2. ebene als Dropdown-Liste.
Ich würde gerne den Menü-Punkt der 1. ebene im Zustand "RO" belassen, während das jeweilige Menü der 2. Ebene angezeigt wird.
Hat jemand eine Idee, wie man das machen kann? Mein TYPOScript habe ich beigefügt:
temp.glmenu = HMENU
temp.glmenu.1 = GMENU
temp.glmenu.1{
wrap = <ul>|</ul>
expAll = 1
noBlur = 1
NO = 1
NO.allWrap = <li>|</li>
NO {
transparentBackground = 1
XY = 110,34
30=TEXT
30 {
text.field=title
offset=10,24
fontColor = #009966
fontFile = fileadmin/user_upload/code/freefont.TTF
fontSize=20
nicetext = 1
}
}
RO = 1
RO {
backColor = #009966
XY = 110,34
20 = BOX
20.dimensions = 1,1,108,32
20.color = #FFFFFF
30 = TEXT
30 {
text.field=title
offset=10,24
fontColor = #009966
fontFile = fileadmin/user_upload/code/freefont.TTF
fontSize=20
nicetext = 1
}
}
ACT <.RO
IFSUB <.NO
IFSUB.allWrap = <li id="menuparent">|
ACTIFSUB <.NO
ACTIFSUB.allWrap = <li id="menuparent">|
ACTRO <.RO
ACTIFSUBRO <.RO
IFSUBRO <.ACTIFSUBRO
}
temp.glmenu.2 = TMENU
temp.glmenu.2 {
wrap = <ul>|</ul></li>
expAll = 1
noBlur = 1
NO = 1
NO.allWrap = <li>|</li>
ACT <.NO
ACT.allWrap = <li class="nav2act"> |</li>
IFSUB = 1
IFSUB.allWrap = <li id="menuparent">|
ACTIFSUB = 1
ACTIFSUB.allWrap = <li id="menuparent">|
}
temp.glmenu.3 <.2
Ich freue mich auf Eure Antworten, vielen Dank im Voraus!