Stimmt, es lag an dem expAll. Aber nun greift er nicht auf die CSS Datei zurück. Die Untermenüs müssten nämlich nach rechts verrückt werden.

hier nochmals das TS und CSS


TS


# Menu 2 cObject
temp.menu_2 = HMENU
temp.menu_2.entryLevel = 1
# First level menu-object, textual
temp.menu_2.1 = TMENU
temp.menu_2.1.expAll = 0
temp.menu_2.1 {
  wrap = <div class="menu_2">|</div>
  NO = 1
  NO {
    linkWrap = <li>|</li>
  }
  ACT = 1
  ACT < .NO
  ACT.doNotLinkIt = 1
  ACT.allWrap = <div class="menu2-act">|</div>
  IFSUB = 1
  IFSUB.wrapItemAndSub = <li>|</li>
}
temp.menu_2.2 < temp.menu_2.1
temp.menu_2.3 < temp.menu_2.1


CSS

div#right {
        float: left;
        width:160px;
        height:auto;
        background-color: transparent;
}

#menu_2 {
        padding-top: 10px;
        padding-left: 10px;
        padding-right: 10px;
        width: 150;
        text-align: left;
        list-style: none;
        line-height: 20px;
}

#menu_2 li a {
        font-size: 110%;
        letter-spacing:1px;
        width: 150;
        margin: 0 0 0 0;
        color: white;
        text-transform: none;
        text-decoration: none;
}

#menu_2 li li a {
        font-size: 110%;
        letter-spacing:1px;
        width: 150;
        margin: 0 0 0 10px;
        color: white;
        text-transform: none;
        text-decoration: none;
}

#menu_2 a:hover,
#menu_2 a:focus {
        color: #333333;
}

#menu_2 DIV.menu2-act {
        font-size: 110%;
        letter-spacing:1px;
        width: auto;
        margin: 0 0 0 0;
        color: #333333;
        text-transform: none;
        text-decoration: none;
}

Gruß
Kerem


Am 28.12.2009 um 13:33 schrieb Markus Kobligk:

Hallo Kerem,

Am 28.12.2009 13:12, schrieb Kerem Goldberg:
temp.menu_2.1.expAll = 1
Hierdurch sind sämtliche Menüeinträge auf allen Ebenen ausgeklappt.
> was müsste ich stattdessen dann schreiben?

Für expAll gibt es nur 2 mögliche Werte: 0 und 1
Den einen hast Du schon verbraucht, bleibt nur noch einer zum ausprobieren übrig ;)

http://typo3.org/documentation/document-library/references/ doc_core_tsref/4.2.0/view/1/10/#id4447861

Grüße,
Markus
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an