Mahlzeit!
ich bastel die ganze zeit an meinem GMENU herum, das auch beinahe wie gewünscht funktioniert, das einzige, was noch nicht funktioniert, is der RO effekt, und ich finde den fehler einfach nicht.
RO is wie NO, nur sollte es (zum testen) eine rote schriftfarbe besitzen.
temp.navtop1stlevel = HMENU
temp.navtop1stlevel.special = directory
temp.navtop1stlevel.special.value = 2
temp.navtop1stlevel.entryLevel = 1
temp.navtop1stlevel {
1 = GMENU
1 {
wrap = <div class="floatleft"><img src="fileadmin/templates/main/gfx/1px_FFFFFF.gif" alt="" width="1" height="25" /></div> |
NO {
wrap = <div class="floatleft"> | </div><div class="floatleft"><img src="fileadmin/templates/main/gfx/nav_top1_sep.gif" alt="" width="2" height="25" /></div> |*| <div class="floatleft"> | </div><div class="floatleft"><img src="fileadmin/templates/main/gfx/nav_top1_sep.gif" alt="" width="2" height="25" /></div> |*| <div class="floatleft"> | </div><div class="floatleft"><img src="fileadmin/templates/main/gfx/nav_top1_rend.gif" alt="" width="36" height="25" /></div>
XY = 94 , 25
10 = IMAGE
10.file = fileadmin/templates/main/gfx/nav_top1_leftend_94x25.gif
10.width = 94
10.height = 25
40 = TEXT
40.align=center
40.text.field = title
40.offset = -1 , 17
40.fontSize = 13
40.maxwidth = 94
40.niceText = 0
40.antiAlias = 1
40.fontFile = fileadmin/fonts/arial.ttf
40.fontColor = #FFFFFF
}
RO < .NO
RO {
40.fontColor = #FF0000
}
RO = 1
}
2 = GMENU
2 {
wrap = <div style="position: absolute; left:175px; top:46px;"><div class="floatleft"><img src="fileadmin/templates/main/gfx/1px_FFFFFF.gif" alt="" width="1" height="25" /></div> | </div>
NO {
wrap = <div class="floatleft"> | </div>
XY = [40.w]+17,23
backColor = #4060A0
transparentColor = #4060A0
transparentBackground = 1
10 = IMAGE
10.file = fileadmin/templates/main/gfx/nav_top1_leftend_94x25.gif
10.width = 94
10.height = 23
40 = TEXT
40.align=center
40.text.field = title
40.offset = -1 , 17
40.fontSize = 13
#40.maxwidth = 94
40.niceText = 0
40.antiAlias = 1
40.fontFile = fileadmin/fonts/arial.ttf
40.fontColor = #FFFFFF
}
}
}
jaja, ich weiss ich koennte das kuerzer machen mit 1 < .2 ... 😉
ach, da waer noch was 😉
wieso funkioniert im wrap beim 2nd level (bzw ueberhaupt bei zustaenden NO,ACT...)
wrap = <div style="position: absolute;...
kein option-split?
ich haette naemlich gerne das der 2nd level auch unter dem button beginnt, wo er hingehoert, bzw "von wo er kommt".
gruss, fuss