---
title: "Untermenü einem HTML-Marker zuweisen"
url: "https://www.typo3.net/d/62639-untermenue-einem-html-marker-zuweisen"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2007-05-17"
last_reply: "2007-05-26"
replies: 2
solved: false
page: 1
pages: 1
lang: "de"
---

# Untermenü einem HTML-Marker zuweisen

TYPO3 › Menüs · 2 Antworten · gestartet 2007-05-17

## Eröffnungsbeitrag

**stephan261** · 2007-05-17 · [Beitrag #1](https://www.typo3.net/d/62639-untermenue-einem-html-marker-zuweisen/1)

Hi,

ich verschuche verzweifelt eine Untermenüebene einem HTML Marker "MENÜ_OBEN" zuzuordnen. Das Hauptmenü liegt im HTML-Bereich "Menü_links", welcher leider auch nur in diesem Bereich das Untermenü anzeigt.

Wie kann ich das Untermenü dem HTML Marker "MENU_OBEN" zuordnen?

```typoscript
MENU_LINKS = HMENU
	MENU_LINKS.special = directory
	MENU_LINKS.special.value = 391
	MENU_LINKS.entryLevel = 0
		MENU_LINKS.1 = GMENU
		MENU_LINKS.1.NO = 0
		MENU_LINKS.1.NO {
		XY = 146, 30
		10 = TEXT
		10.text.field = title
		10.fontColor = #999999
		10.fontFile = fileadmin/fonts/arialb.ttf
		10.fontSize = 14
		10.niceText = 1
		10.offset = 7, 21
		}
	MENU_LINKS.1.RO < .MENU_LINKS.1.NO
	MENU_LINKS.1.RO.backColor = #82BC8B
			
			MENU_LINKS.2 < .MENU_LINKS.1
			MENU_LINKS.2 {
			NO.backColor = #E2F5E5
			NO.10.fontColor = #478951
			NO.20.file.backColor = #478951
			RO < .NO
			RO.backColor = #FFFFFF
			RO.5 >
			}
```

## Antworten

### [#2](https://www.typo3.net/d/62639-untermenue-einem-html-marker-zuweisen/2) · automatix · 2007-05-17

Hallo!

entryLevel = 1

```typoscript
# MENU LEVEL 1 START
mainPage.10 {
    marks {
        MENU_LEVEL_1 = HMENU
        MENU_LEVEL_1 {
            entryLevel = 0
            special = directory
            special.value = 1
            1 = TMENU
            1.noBlur = 1
            1.NO = 1
            1.NO {
                linkWrap = <li>|</li>
                stdWrap.wrap = <span class="aContent_1_NO">|</span>
                ATagParams = class="nav_1_NO" onfocus="blur(this);"
				ATagTitle.field =  subtitle // title // alias
            }
            1.ACT < .1.NO
            1.ACT = 1
            1.ACT {
                stdWrap.wrap = <span class="aContent_1_ACT">|</span>
                ATagParams = class="nav_1_ACT" onfocus="blur(this);"
            }
        }
    }
}
# MENU LEVEL 1 STOP

# MENU LEVEL 2 START
mainPage.10 {
    marks {
        MENU_LEVEL_2  = HMENU
        MENU_LEVEL_2  {
            entryLevel = 1
            special.value = 1
            1 = TMENU
            1.noBlur = 1
            1.NO = 1
            1.NO {
                doNotLinkIt = 0
                doNotShowLink = 0
                ATagParams = class="nav_2_NO" onfocus="blur(this);"
                linkWrap = |&nbsp;&#124; |*| &nbsp;|&nbsp;&#124; |*| &nbsp;|
                ATagTitle.field = description // title // alias // subtitle // abstract
            }
            1.ACT < .1.NO
            1.ACT = 1
            1.ACT {
                ATagParams = class="nav_2_ACT" onfocus="blur(this);"
            }
        }
    }
}
# MENU LEVEL 2 STOP
```

Gruß,
Ilya

### [#3](https://www.typo3.net/d/62639-untermenue-einem-html-marker-zuweisen/3) · stephan261 · 2007-05-26

super, klappt alles
vielen Dank für die schnelle Antwort!! #giggle#

---

Quelle: „Untermenü einem HTML-Marker zuweisen“, typo3.net, https://www.typo3.net/d/62639-untermenue-einem-html-marker-zuweisen
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
