Hallo Leute,
ich möchte, daß die zweite Ebene des Menüs auch einen "Rollover - Effekt" bekommt - wie die erste Eben, wo es funktioniert - kriege das aber nicht hin !!! Geht das überhaupt ?
Hier der Code für das Menü, den ich verwende:
+++++++++++++++++++++++++++++++++++++++++++
## HAUPTMENÜ
includeLibs.gmenu_layers = fileadmin/gmenu_layers.php
marks.MENU_OBEN = HMENU
marks.MENU_OBEN.1 = GMENU_LAYERS
marks.MENU_OBEN.1 {
layerStyle = position:absolute;left:0px;top:155px;width:0px;VISIBILITY:hidden;
xPosOffset =-130
lockPosition = x
expAll=1
NO {
backColor = #CCCCCC
transparentColor = #CCCCCC
XY = [10.w]+17, 24
10 = TEXT
10.text.field = title
10.fontFile=fileadmin/Brigitte.ttf
10.fontSize=22
10.offset = 15,19
10.niceText = 0
}
ACT < .NO
ACT=1
ACT {
10.fontColor=#DCE6D2
}
RO < .NO
RO=1
RO {
10.fontColor=#DCE6D2
}
}
marks.MENU_OBEN.2 = GMENU
marks.MENU_OBEN.2.wrap = |<BR>
marks.MENU_OBEN.2.NO {
backColor = |*| #CCCCCC || #CCCCCC : *1.2 |*|
XY = 160, 20
10 = TEXT
10.text.field = title
10.fontFile=fileadmin/Brigitte.ttf
10.fontSize=18
10.offset = 5,14
10.niceText = 1
}
ACT < .NO
ACT=1
ACT {
10.fontColor=#DCE6D2
}
RO < .NO
RO=1
RO {
10.fontColor=#DCE6D2
}
+++++++++++++++++++++++++++++++++++++++
Danke für die Hilfe
MfG
BK
Hi,
versuchs mal hiermit:
marks.MENU_TOP = HMENU
marks.MENU_TOP.1 = GMENU
marks.MENU_TOP.1 {
NO {
backColor = red
XY = [10.w]+20,20
10 = TEXT
10.text.field = title
10.fontColor = white
10.fontSize = 11
10.offset = 0,15
10.align = center
10.niceText = 1
}
RO < .NO
RO=1
RO {
backColor = #999999
10.fontColor = white
}
ACT < .NO
ACT = 1
ACT {
backColor = #999999
10.fontColor = red
}
}
hoffe es hilft.
MfG,
maka77
Die erste Ebene funktioniert ja bei mir auch - wie ich schon beschrieben habe.
Nur bei der zweiten Ebene des Menüs funktioniert der Mouseovereffekt leider nicht !!??
BK
Hallo, bei mir hat es geholfen einfach eine neue "dritte" Schicht mit einzupacken
marks.MENU_OBEN.3 = GMENU
marks.MENU_OBEN.3.wrap = |<BR>
marks.MENU_OBEN.3.NO {
backColor = |*| #CCCCCC || #CCCCCC : *1.2 |*|
XY = 160, 20
10 = TEXT
10.text.field = title
10.fontFile=fileadmin/Brigitte.ttf
10.fontSize=18
10.offset = 5,14
10.niceText = 1
}
ACT < .NO
ACT=1
ACT {
10.fontColor=#DCE6D2
}
RO < .NO
RO=1
RO {
10.fontColor=#DCE6D2
}
Versuchs ienfach mal
ansonsten noch viel spaß
😉
Hi,
das hat leider auch nicht geholfen :-(
Noch jamand einen Tip
Danke
MfG
BK
bei deinem ersten posting hast du schlicht und einfach ein "klammerproblem" :-)
"ROT" raus...."GRUEN" rein...dann gehts!
marks.MENU_OBEN.2 = GMENU
marks.MENU_OBEN.2.wrap = |<BR>
marks.MENU_OBEN.2 {
marks.MENU_OBEN.2.NO {
backColor = |*| #CCCCCC || #CCCCCC : *1.2 |*|
XY = 160, 20
10 = TEXT
10.text.field = title
10.fontFile=fileadmin/Brigitte.ttf
10.fontSize=18
10.offset = 5,14
10.niceText = 1
}
ACT < .NO
ACT=1
ACT {
10.fontColor=#DCE6D2
}
RO < .NO
RO=1
RO {
10.fontColor=#DCE6D2
}
}
gruß wolf
SUPER !!!!!!!!
Vielen Dank !
Diese Klammern - darauf wäre ich nie gekommen !!!
Danke nochmal
MfG
BK
hallo,
ich wollte brainkiller2000's menü mal bei mir testen.
hab es an mein umfeld angepaßt. das haupt menü steht, aber die sub-menüs klappen partout nicht auf, heul...
# Default PAGE object:
page = PAGE
page.bodyTag = <body topmargin="0" leftmargin="0" bgcolor="#242424">
page.typeNum = 0
page.stylesheet = fileadmin/bergschule/css/berg.css
page.includeLibs.gmenu_layers = fileadmin/bergschule/scripts/gmenu_layers.php
page.10 = TEMPLATE
page.10 {
template = FILE
template.file = fileadmin/bergschule/2a.htm
workOnSubpart = DOCUMENT
marks.testmarker = CONTENT
marks.testmarker < styles.content.get
marks.testmarker1 = CONTENT
marks.testmarker1 < styles.content.getLeft
marks.menu_oben = HMENU
marks.menu_oben.1 = GMENU_LAYERS
marks.menu_oben.1 {
#layerStyle = position:absolute;left:0px;top:155px;width:0px;VISIBILITY:hidden;
xPosOffset = -30
lockPosition = x
topOffset = 80
expAll = 1
hideMenuTimer >=100
NO {
backColor = |*| #B2B321 || #C0C12F |*|
XY = [10.w]+48,19
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/bergschule/font/Tempus.ttf
10.fontSize = 13px
10.offset = 0, 13
10.align = center
10.niceText = 0
}
ACT < .NO
ACT=1
ACT {
10.fontColor=#CCFF00
backColor = #A8A91F
}
RO < .NO
RO=1
RO {
10.fontColor=#CCFF00
backColor = #A8A91F
}
}
marks.menu_oben.2 = GMENU
marks.menu_oben.2.wrap = |<BR>
marks.menu_oben.2 {
marks.menu_oben.2.NO {
backColor = |*| #B2B321 || #C0C12F |*|
XY = 60, 20
10 = TEXT
10.text.field = title
10.fontFile = fileadmin/bergschule/font/Tempus.ttf
10.fontSize = 13
10.offset = 0, 13
10.align = center
10.niceText = 1
}
ACT < .NO
ACT = 1
ACT {
10.fontColor = #CCFF00
backColor = #A8A91F
}
RO < .NO
RO=1
RO {
10.fontColor=#CCFF00
backColor = #A8A91F
}
}
}
kann mir jemand einen tip geben, hab schon diverse koordinaten durchprobiert. hm. der marker für das gmenu liegt in der html-vorlage in einem layer.
<span id="Layer1" style="position:absolute; left:236px; top:97px; width:656px; height:121px; z-index:2">###menu_oben###</span>
könnte das ein problem sein ?
Hi,
bei mir läuft es OHNE Layer - teste es halt einmal ohne !!
MfG
BK
der tag war einfach zu lang.
rot raus grün rein. :o sehr, sehr peinelig