---
title: "2. Ebene in Textmenü"
url: "https://www.typo3.net/d/26549-2-ebene-in-textmenue"
source: "typo3.net"
tags: ["TYPO3","Menüs","Frage"]
created: "2005-06-28"
last_reply: "2005-06-28"
replies: 4
solved: false
page: 1
pages: 1
lang: "de"
---

# 2. Ebene in Textmenü

TYPO3 › Menüs · 4 Antworten · gestartet 2005-06-28

## Eröffnungsbeitrag

**jomann** · 2005-06-28 · [Beitrag #1](https://www.typo3.net/d/26549-2-ebene-in-textmenue/1)

Ich habe folgenden Code:

```typoscript
        MENU_LINKS = HMENU
        MENU_LINKS {
                special = directory
                special.value = 3
                entryLevel = 1
                1 = TMENU
                1.NO = 1
                1.NO.ATagParams = class="menue_eintrag_aktiv"
                1.NO.linkWrap = <table width="130" border="0" cellspacing="0" cellpadding="0"><tr bgcolor="#5B77AB"> <td width="4">&nbsp;</td> <td width="122" height="18" class="menue_eintrag_aktiv">&bull; |</td> <td width="4">&nbsp;</td> </tr> <tr bgcolor="#FFFFFF"> <td height="1" colspan="3"><img src="images/1px.gif" width="1" height="1"></td> </tr> </table>
                         
                                                             
        }
```

Und möchte nun eine weitere Ebene hinzufügen... hat jemand vll eine Ahnung, wie ich das hinbekommen könnte?  8-)

## Antworten

### [#2](https://www.typo3.net/d/26549-2-ebene-in-textmenue/2) · Fabian-K · 2005-06-28

LOL was hast du denn vor? :)

Gibt es einen Link zu der Seite wo man dein aktuelles Menue in Aktion betrachten kann?

### [#3](https://www.typo3.net/d/26549-2-ebene-in-textmenue/3) · jomann · 2005-06-28

Solltest den Link schon haben, Fabian ;)
<http://194.231.189.37/cms/index.php?id=14>

### [#4](https://www.typo3.net/d/26549-2-ebene-in-textmenue/4) · Fabian-K · 2005-06-28

Mh stimmt wohl ;)

Naja ich bin ehrlich:
Bei dem kram den du da gemacht hast wird mir doch etwas schlecht.
(Liegt daran dass ich durch deinen tabellen-Kram nicht durchsteige *g*)

Benutze bitte den Autoparser.. damit erstaprst du dir.. aeh.. mindestens 7134913749137479134 Zeilen Code, da du nicht fuer jeden Menueeintrag ne Tabelle zeichnen musst ;)

Naja okay, jedem das seine, hier der Source fuer dein menue:

```typoscript
MENU_LINKS = HMENU
MENU_LINKS {
  special = directory
  special.value = 3
  entryLevel = 1
  1 = TMENU
  1 {
    NO {
      ATagParams = class="menue_eintrag_inaktiv"
      linkWrap = <table width="130" border="0" cellspacing="0" cellpadding="0"><tr bgcolor="#5B77AB"> <td width="4"> </td> <td width="122" height="18" class="menue_eintrag_inaktiv">&bull; |</td> <td width="4"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="1" colspan="3"><img src="images/1px.gif" width="1" height="1"></td> </tr> </table>
    }
    ACT {
      ATagParams = class="menue_eintrag_aktiv"
      linkWrap = <table width="130" border="0" cellspacing="0" cellpadding="0"><tr bgcolor="#5B77AB"> <td width="4"> </td> <td width="122" height="18" class="menue_eintrag_aktiv">&bull; |</td> <td width="4"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="1" colspan="3"><img src="images/1px.gif" width="1" height="1"></td> </tr> </table>
    }
  }
  2 = TMENU
  2 {
    NO {
      ATagParams = class="menue_2_eintrag_inaktiv"
      linkWrap = <table width="130" border="0" cellspacing="0" cellpadding="0"><tr bgcolor="#5B77AB"> <td width="4"> </td> <td width="122" height="18" class="menue_2_eintrag_inaktiv">&bull; |</td> <td width="4"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="1" colspan="3"><img src="images/1px.gif" width="1" height="1"></td> </tr> </table>
    }
    ACT {
      ATagParams = class="menue_2_eintrag_aktiv"
      linkWrap = <table width="130" border="0" cellspacing="0" cellpadding="0"><tr bgcolor="#5B77AB"> <td width="4"> </td> <td width="122" height="18" class="menue_2_eintrag_aktiv">&bull; |</td> <td width="4"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="1" colspan="3"><img src="images/1px.gif" width="1" height="1"></td> </tr> </table>
    }
  }
  3 = TMENU
  3 {
    NO {
      ATagParams = class="menue_3_eintrag_inaktiv"
      linkWrap = <table width="130" border="0" cellspacing="0" cellpadding="0"><tr bgcolor="#5B77AB"> <td width="4"> </td> <td width="122" height="18" class="menue_3_eintrag_inaktiv">&bull; |</td> <td width="4"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="1" colspan="3"><img src="images/1px.gif" width="1" height="1"></td> </tr> </table>
    }
    ACT {
      ATagParams = class="menue_3_eintrag_aktiv"
      linkWrap = <table width="130" border="0" cellspacing="0" cellpadding="0"><tr bgcolor="#5B77AB"> <td width="4"> </td> <td width="122" height="18" class="menue_3_eintrag_aktiv">&bull; |</td> <td width="4"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="1" colspan="3"><img src="images/1px.gif" width="1" height="1"></td> </tr> </table>
    }
  }
  #..und so weiter..
}
```

Was du jeweils anpassen musst:

```typoscript
..
class="menue_X_eintrag_aktiv"
class="menue_X_eintrag_inaktiv"
..
```

(X steht fuer das jeweile sublevel. Habe das ganze mal ein bisschen Benutzerfreundlicher gestaltet.. kannst es ja anpassen wenn du lust hast.)

Wenn alle Submenues gleich aussehen sollen, also wie z.B. das erste Submenue, dann traegst du einfach bei allen submenues

```typoscript
class="menue_2_eintrag_inaktiv"
```

bzw.

```typoscript
class="menue_2_eintrag_aktiv"
```

ein.

Das NO steht uebrigens fuer den Normalzustand, also weder aktiv, noch sonstetwas.. also ganz normal halt.

Das ACT steht fuer Active, also das ist dann der Link auf den du geklickt hast.

### [#5](https://www.typo3.net/d/26549-2-ebene-in-textmenue/5) · jomann · 2005-06-28

Das funktioniert leider nicht, wie du es beschrieben hast... :(

---

Quelle: „2. Ebene in Textmenü“, typo3.net, https://www.typo3.net/d/26549-2-ebene-in-textmenue
Beiträge von Mitgliedern des Forums. Bitte mit Link auf die Diskussion zitieren.
