Hallo an Alle
Ich beschäftige mich seit tagen die 3 Ebene im Gmenu_layer zu positionieren. Mein Ziel ist es die 3 Eben so an zuhänden das sie wie im jeden Windwosfenster like rechts an die 2 Ebene ansetzt.
Hier mein Quelltest
marks.MENU_OBEN= HMENU
marks.MENU_OBEN.1 = GMENU_LAYERS
marks.MENU_OBEN.1{
layerStyle = position:absolute;left:0px;top:167px;width:300px;VISIBILITY:hidden;
xPosOffset =-42
lockPosition = x
expAll=1
hideMenuWhenNotOver = 10
hideMenuTimer = 300
NO{
backColor = #cccccc
transparentColor = #CCCCCC
XY = [10.w]+15, 30
10 = TEXT
10.text.field = title
10.fontFace = fileadmin/sea_temp/font/verdana.ttf
10.fontColor=white
10.fontSize=15
10.offset = 5,19
10.antiAlias= 1
#10.niceText = 0
}
ACT < .NO
ACT=1
ACT {
10.fontColor=#000000
}
RO < .NO
RO=1
RO {
10.fontColor=#000000
}
}marks.MENU_OBEN.2 = GMENU
marks.MENU_OBEN.2 = GMENU_LAYERS
marks.MENU_OBEN.2 {
expAll=1
layerStyle = position:absolute;left:0px;top:400px;width:300px;VISIBILITY:hidden;
xPosOffset =-42
yPosOffset =-167
lockPosition =y
wrap = <tr>|</tr>
NO{
backColor = #D7F5FF
XY = 160, 20
10 = TEXT
10.text.field = title
10.fontFace = fileadmin/sea_temp/font/verdana.ttf
10.fontSize=14
10.offset = 5,14
10.niceText = 0
}
ACT < .NO
ACT=1
ACT {
10.fontColor=#FF6600
}
RO < .NO
RO=1
RO {
backColor = #FF6600
10.fontColor=#DCE6D2
}
}marks.MENU_OBEN.3 = GMENU
marks.MENU_OBEN.3 {
wrap = <tr>|</tr>
NO{
backColor = #D7F5FF
XY = 160, 20
10 = TEXT
10.text.field = title
10.fontFace = fileadmin/sea_temp/font/verdana.ttf
10.fontSize=14
10.offset = 5,14
10.niceText = 0
}
ACT < .NO
ACT=1
ACT {
backColor = #FFFF99
10.fontColor=#DCE6D2
}
RO < .NO
RO=1
RO {
backColor = #FF6600
10.fontColor=#DCE6D2
}
}
Das Problem was ich noch habe ist das die 3 ebene immer mit der Mouse auf die x position folgt, sprich die 3 ebene hüpft nach oben wenn ich die Mause bewege.