Hallo zuammen,
ich habe folgendes Problem:
ich habe mir ein GMENU(via CSS zum Foldoutmenü) umgebastelt.
Ich möchte nun jedoch das sich beim Rollover(RO) nicht nur die Farbe des Links ändert wo man gerade hovert, sondern alle anderen sollen auch eine andere farbe bekommen.
Bitte helft einem Anfänger 🙂
Hier mal mein TS Code:
temp.menuLeft = HMENU
temp.menuLeft.special = directory
temp.menuLeft.special.value = 10
temp.menuLeft {
1=GMENU
1 {
wrap = <ul id="nav"><span onmouseover="da();" onmouseout="weg();">|</span></ul>
expAll = 1
noBlur = 1
NO = 1
NO {
allWrap = <li>|</li>
XY =363,19
backColor = #2A3D43
transparentBackground = 1
noBlur = 1
10 = TEXT
10.text.field = title
10.fontColor = #ffffff
10.fontFile = fileadmin/fonts/FAGOEBLC.TTF
10.fontSize = 18
10.antiAlias = 1
10.offset = 0,18
10.niceText = 1
wrapItemAndSub = <li><span onmouseover="da();" onmouseout="weg();">|</span></li>
}
ACT = 1
ACT{
XY =363,19
backColor = #334046
transparentBackground = 1
wrapItemAndSub = <li><span onmouseover="da();" onmouseout="weg();">|</span></li>
noBlur = 1
10 = TEXT
10.text.field = title
10.fontColor = #A1A79B
10.fontFile = fileadmin/fonts/FAGOEBLC.TTF
10.fontSize = 18
10.antiAlias = 1
10.offset = 0,18
10.niceText = 1
}
IFSUB <.NO
IFSUB.allWrap = <li class="menuparent"><span onmouseover="da();" onmouseout="weg();">|</span>
ACTIFSUB <.IFSUB
RO <.NO
RO.10.fontColor = #babc9c
RO.backColor = #ffffff
RO.transparentBackground = 1
ACTRO <.RO
ACTIFSUBRO <.RO
RO < NO
RO = 1
RO{
XY =363,19
backColor = #ffffff
transparentBackground = 1
wrapItemAndSub = <li><span onmouseover="da();" onmouseout="weg();">|</span></li>
noBlur = 1
10 = TEXT
10.text.field = title
10.fontColor = #babc9c
10.fontFile = fileadmin/fonts/FAGOEBLC.TTF
10.fontSize = 18
10.antiAlias = 1
10.offset = 0,18
10.niceText = 1
}
CUR < NO
CUR = 1
CUR{
XY =363,19
backColor = #334046
transparentBackground = 1
wrapItemAndSub = <li><span onmouseover="da();" onmouseout="weg();">|</span></li>
noBlur = 1
10 = TEXT
10.text.field = title
10.fontColor = #babc9c
10.fontFile = fileadmin/fonts/FAGOEBLC.TTF
10.fontSize = 18
10.antiAlias = 1
10.offset = 0,18
10.niceText = 1
}
IFSUBRO <.ACTIFSUBRO
}
2=GMENU
2 {
wrap = <ul id="nav">|</ul>
expAll = 1
noBlur = 1
NO = 1
NO {
allWrap = <li>|</li>
XY =240,21
backColor = #ffffff
transparentBackground = 1
noBlur = 1
10 = TEXT
10.text.field = title
10.fontColor = #36382D
10.fontFile = fileadmin/fonts/FAGONRGL.TTF
10.fontSize = 13
10.antiAlias = 1
10.offset = 0,18
10.niceText = 1
wrapItemAndSub = <li>|</li>
}
ACT <.NO
ACT{
XY =240,21
backColor = #ffffff
transparentBackground = 1
wrapItemAndSub = <li>|</li>
noBlur = 1
10 = TEXT
10.text.field = title
10.fontColor = #36382D
10.fontFile = fileadmin/fonts/FAGONRGL.TTF
10.fontSize = 13
10.antiAlias = 1
10.offset = 0,18
10.niceText = 1
}
IFSUB <.NO
IFSUB.allWrap = <li class="menuparent">|
ACTIFSUB <.IFSUB
RO <.NO
RO.10.fontColor = #A1A79B
ACTRO <.RO
ACTIFSUBRO <.RO
RO < NO
RO = 1
RO{
XY =240,21
backColor = #ffffff
transparentBackground = 1
wrapItemAndSub = <li>|</li>
noBlur = 1
10 = TEXT
10.text.field = title
10.fontColor = #A1A79B
10.fontFile = fileadmin/fonts/FAGONRGL.TTF
10.fontSize = 13
10.antiAlias = 1
10.offset = 0,18
10.niceText = 1
}
IFSUBRO <.ACTIFSUBRO
}
}
}
Danke schonmal und einen sonnigen Tag noch,
Gruß sarefa