Zum Inhalt springen

GMENU_LAYER RollOver durcheinander..HELP PLEASE....

Erstellt am 15. November 2004 · 5 Antworten · letzte Antwort am 9. Februar 2005

Tags: Frage

dinooo ·

hallo Leute

ich bin soweit. ich komme nicht mehr weiter...wieso funktionieren meine RollOver umgekehrt??

Sprich backColor ist Schriftfarbe und fontColor geht gar nichts...?

hier mein setup:

page = PAGE
page.typeNum = 0
page.includeLibs.tmenu_layers = media/scripts/tmenu_layers.php
page.stylesheet = fileadmin/twemplate/main.css
page.bodyTag = <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">

page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/template/home_template.html
workOnSubpart = DOCUMENT_BODY
subparts.CONTENT < styles.content.get

# Eigenschaften Layer Menu erster Level
subparts.TOPNAV = HMENU
subparts.TOPNAV.special = list

#1.Level wird mit festen UIDs angegeben. d.h Navigation wird nicht dynamisch erstellt
subparts.TOPNAV.special.value = 2,10,4,5,6,7
subparts.TOPNAV.1 = GMENU_LAYERS
subparts.TOPNAV.1 {

#LayerStyle
layerStyle = position:absolute;VISIBILITY:hidden;

#Einstellungen damit Layer nicht der Maus folgt
#Horizontal und Vertikal mit x und y wechseln
lockPosition = x

#The position of the new layer (mouseover menu) is controlled by the next 4 Lines
relativeToParentLayer=1
relativeToTriggerItem=1
displayActiveOnLoad=1
topOffset=23
leftOffset=3

#The 2 Lines are used to close the new layer (mouseover menu)
hideMenuWhenNotOver = 50
hideMenuTimer = 500

#To show all menu items of the next level they have to be activ
expAll=1

#Used to show the menu items
wrap = <table border="0" cellspacing="0" cellpadding="0" align="left" ><tr><td> | </td></tr></table>

NO = 1
NO{
wrap = <td>|</td>
XY=[10.w]+10, 23
10.backColor=#FFFFFF
10 = TEXT
10.text.field = title
10.fontColor = #4E2614
10.fontFile = fileadmin/Fonts/Garabd.ttf
10.fontSize = 12
10.align = left
10.niceText=1
10.offset=5,23
}

RO = 1
RO{
wrap = <td>|</td>
XY=[10.w]+10, 23
10.backColor=#FFF000
10 = TEXT
10.text.field = title
10.fontColor = #444444
10.fontFile = fileadmin/Fonts/Garabd.ttf
10.fontSize = 12
10.align = left
10.niceText=1
10.offset=5,23

}
}
# Top Navigation 2nd Level
subparts.TOPNAV.2 = GMENU_LAYERS
subparts.TOPNAV.2 {
layerStyle = position:absolute;VISIBILITY:hidden;
lockPosition = x
relativeToParentLayer=1
relativeToTriggerItem=1
dontHideOnMouseUp=1
displayActiveOnLoad=1
topOffset=19
leftOffset=10
expAll=1
wrap = <table cellspacing="0" cellpadding="0" ><tr><td> | </td></tr></table>
NO{
wrap = <tr><td>|</td></tr>
XY=[10.w]+30, 23
backColor=#221E1F
10 = TEXT
10.text.field = title
10.fontColor = #A9C7EC
10.fontFile = fileadmin/Fonts/Garait.ttf
10.fontSize = 13
10.niceText=1
10.offset=4,12
}

ACT = 1
ACT < .NO
ACT = 1
ACT.10.fontColor = red
RO < .NO
RO = 1
RO.10.fontColor = #444444
}

# Top Navigation 3rd Level
subparts.TOPNAV.3 = GMENU
subparts.TOPNAV.3 {
displayActiveOnLoad=1
wrap = <table cellspacing="0" cellpadding="0"><tr><td> | </td></tr></table>
NO{
wrap = <td>|</td>
XY=[10.w]+30, 23
backColor=white
10 = TEXT
10.text.field = title
10.fontColor = #4E2614
10.fontFile = fileadmin/Fonts/Garabd.ttf
10.fontSize = 12
10.align = left
10.niceText=1
10.offset=4,12
}

ACT = 1
ACT < .NO
ACT = 1
ACT.10.fontColor = red
RO < .NO
RO = 1
RO.10.backColor=#ffffff
RO.10.fontColor = #000000
}

subparts.SUBNAV = HMENU
subparts.SUBNAV.special = directory
subparts.SUBNAV.special.value=16
subparts.SUBNAV.1 = GMENU
subparts.SUBNAV.1.NO = 1
subparts.SUBNAV.1.NO{
wrap = |<br>
XY=[10.w]+5, 23
backColor=#DCD4D0
10 = TEXT
10.text.field = title
10.fontColor = #A7938A
10.fontFile = fileadmin/Fonts/Garabd.ttf
10.fontSize = 12
10.align = right
10.niceText=1
10.offset=-5,10
}
subparts.SUBNAV.1.RO=1
subparts.SUBNAV.1.RO {
wrap = |<br>
XY=[10.w]+5, 23
backColor=#FFFFFF
10 = TEXT
10.text.field = title
10.fontColor = #A7938A
10.fontFile = fileadmin/Fonts/Garabd.ttf
10.fontSize = 12
10.align = right
10.niceText=1
10.offset=-5,10
}
}

}

MiK3 ·

hey, das problem hatte ich auch mal, vertausche einfach die farben für die schrift und den hintergrund, dann gehts. so hat es zumindest bei mir geklappt 😉

MiK3 ·

hey, das problem hatte ich auch mal, vertausche einfach die farben für die schrift und den hintergrund, dann gehts. so hat es zumindest bei mir geklappt 😉

Proximo ·

#giggle# Also ich verwende grundsätzlich kein NiceText... um ehrlich zu sein hat es mir noch nie was gebracht, und die Schrift ist gestochen scharf...^^

Ja das mit dem Farben vertauschen hab ich auch schonmal erlebt... bei mir ist das Problem genau bei Verwendung dieses "NiceText" aufgetreten... seitdem benutze ich es nicht mehr um meine Bildquali zu !ERHÖHEN! und mich von diesen Problemen zu erlösen^^

MFG Proximo