[TYPO3-german] Aufklappbares Listenmenue?

Kerem Goldberg kerem.goldberg at googlemail.com
Mon Dec 28 12:58:07 CET 2009


Hallo Liste,

ich habe zwar mein vertikales Listenmenü hinbekommen. Jedoch schaffe  
ich es nicht, die Untermenüs im nicht-aktiven Zustand auszublenden.
Zu sehen auf: http://www.muesliarchitektur.de/typo3/index.php?id=66


TScript:

# 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 = 1
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;
}

Danke im Voraus
Kerem



More information about the TYPO3-german mailing list