hi,
ich benutze ein aufklappbares menü, wenn ich nun auf eines der elemente im submenü klicke soll sich dieses anders färben, damit man weiß auf welcher seite man grad ist.
da ich noch neuling bin hab ich keine ahnung wie das gehn soll.
hier der code:
## GMENU_FOLDOUT
includeLibs.gmenu_foldout = media/scripts/gmenu_foldout.php
temp.foldoutMenu = HMENU
temp.foldoutMenu.1 = GMENU_FOLDOUT
temp.foldoutMenu.1.expAll=1
temp.foldoutMenu.1.displayActiveOnLoad = 1
temp.foldoutMenu.1.NO {
wrap = <div style="border-bottom:1px solid white"><img src="fileadmin/template/sonit/main/images/link_white.gif" style="padding-bottom:7px"> | </div>
XY = 120,21
backColor = #A9A9A9
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/template/res/arialbd.ttf
10.fontSize = 8
10.fontColor = #EEEEEE
10.offset = 0,14
}
temp.foldoutMenu.1.RO < temp.foldoutMenu.1.NO
temp.foldoutMenu.1.RO = 1
temp.foldoutMenu.1.RO {
10.fontColor = #CD2828
}
temp.foldoutMenu.2 = TMENU
temp.foldoutMenu.2.NO {
linkWrap = <div class="navi_sub" style="border-bottom:1px solid white"><img src="fileadmin/template/sonit/main/images/link_white.gif"> | </div>
stdWrap.case = upper
}
temp.foldoutMenu.1 {
dontLinkIfSubmenu = 1
stayFolded=1
foldSpeed = 6
subMenuOffset = 0,22
menuOffset = 0,140
menuBackColor = #A9A9A9
menuWidth = 150
}