---
title: "Gmenu 3 Ebene positionieren"
url: "https://www.typo3.net/d/3189-gmenu-3-ebene-positionieren"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2003-05-30"
last_reply: "2003-10-27"
replies: 4
solved: false
page: 1
pages: 1
lang: "de"
---

# Gmenu 3 Ebene positionieren

TYPO3 › Menüs · 4 Antworten · gestartet 2003-05-30

## Eröffnungsbeitrag

**A-Post** · 2003-05-30 · [Beitrag #1](https://www.typo3.net/d/3189-gmenu-3-ebene-positionieren/1)

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.

Bsp. <http://www.paninfo.ch>

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.

## Antworten

### [#2](https://www.typo3.net/d/3189-gmenu-3-ebene-positionieren/2) · A-Post · 2003-06-04

Weist niemand eine Antwort auf mein Problem oder ist es schlicht weg nicht lösbar??

Danke an alle

### [#3](https://www.typo3.net/d/3189-gmenu-3-ebene-positionieren/3) · stema · 2003-10-27

Hallo, wenn du deinen code folgendermaßen veränderst, so bewegt sich das menü nicht mehr mit der maus, öffnet sich aber auch nicht mehr hinter dem entspr. menüpunkt.
(habe anderen marker gesetzt)

[...]
marks.MENUL.2 = GMENU
marks.MENUL.2 = GMENU_LAYERS
marks.MENUL.2 {

layerStyle = position:absolute;left:0px;top:20px;width:300px;VISIBILITY:hidden;
xPosOffset =-200
**#yPosOffset =-167**
**lockPosition = x**
#lockPosition = y
expAll=1
wrap = <tr>|</tr>
NO{
[...]

### [#4](https://www.typo3.net/d/3189-gmenu-3-ebene-positionieren/4) · stema · 2003-10-27

Sorry, das wars wohl doch nicht : ((

Hast du inzwischen eine Lösung?

### [#5](https://www.typo3.net/d/3189-gmenu-3-ebene-positionieren/5) · stema · 2003-10-27

Ok, ich nochmal.
Ist zwar nicht genau das, was du wolltest, aber immerhin bewgt sich der layer nicht mehr:

marks.MENUL.2 = GMENU
marks.MENUL.2 = GMENU_LAYERS
marks.MENUL.2 {
expAll=1
#positionierung 2. menüebene
layerStyle = position:absolute;left:0px;top:400px;width:300px;VISIBILITY:hidden;
#relativer abstand des 3. menüs zu layer 2
xPosOffset =-1
yPosOffset =-1
#lockPosition = xy
**dontFollowMouse = 1**
wrap = <tr>|</tr>
NO{

---

Quelle: „Gmenu 3 Ebene positionieren“, typo3.net, https://www.typo3.net/d/3189-gmenu-3-ebene-positionieren
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
