Zum Inhalt springen

Template um Menüebenen erweitern

Erstellt am 28. April 2010 · 4 Antworten · letzte Antwort am 29. April 2010

Tags: Frage

VfB-Aragorn ·

Vermutlich das hier?

   LEFT-MENU = HMENU 
   LEFT-MENU {
      entryLevel = 1
      1 = TMENU
      1 {
      noBlur = 1
      expAll = 0
      wrap = <ul>|</ul>
      NO.wrapItemAndSub = <li class="left-level-1-no">|</li>
      NO.ATagTitle.field = abstract // description // subtitle // title
      ACT = 1
      ACT.wrapItemAndSub = <li class="left-level-1-act">|</li>
      ACT.ATagTitle.field = abstract // description //subtitle //  title
      }
      2 = TMENU
      2 {
      noBlur = 1
      expAll = 0
      wrap = <ul>|</ul>
      NO.wrapItemAndSub = <li class="left-level-2-no">|</li>
      NO.ATagTitle.field = abstract // description // title
      ACT = 1
      ACT.wrapItemAndSub = <li class="left-level-2-act">|</li>
      ACT.ATagTitle.field = abstract // description // title
      }
      3 = TMENU
      3 {
      noBlur = 1
      expAll = 0
      wrap = <ul>|</ul>
      NO.wrapItemAndSub = <li class="left-level-3-no">|</li>
      NO.ATagTitle.field = abstract // description // title
      ACT = 1
      ACT.wrapItemAndSub = <li class="left-level-3-act">|</li>
      ACT.ATagTitle.field = abstract // description // title
      }
   }
VfB-Aragorn ·

Alles klar...hat sich erledigt..funktioniert 🙂

Edit: Oder auch nicht...

Ich habe es nun geschafft das sich nun weiter Menüebenen zu sehen sind, allerdings habe ich nun ein Problem mit der Formatierung. Ich bekommen die neue Ebene einfach nicht dazu die CSS Formatierung #left-menu li.left-level-4-no a zu benutze. Die Ebene wird immer gleich mit dem Hover Effekt angezeigt..

Die 4. Ebene sind nun so aus:

       4 = TMENU
      4 {
      noBlur = 1
      expAll = 0
      wrap = <ul>|</ul>
      NO.wrapItemAndSub = <li class="left-level-4-no">|</li>
      NO.ATagTitle.field = abstract // description // title
      ACT = 1
      ACT.wrapItemAndSub = <li class="left-level-4-act">|</li>
      ACT.ATagTitle.field = abstract // description // title
      }

CSS Eintrag für die Ebene:

#left-menu li.left-level-4-no a {

	height: auto;

	text-decoration: none;

	display: block;

	padding: 3px 6px 3px 25px;

	background: #f1f1f1;

	color: #666666;

	border-top-width: 1px;

	border-bottom-width: 1px;

	border-top-style: solid;

	border-bottom-style: solid;

	border-top-color: #FFFFFF;

	border-bottom-color: #FFFFFF;

}



#left-menu li.left-level-4-no a:hover, #left-menu li.left-level-4-act a {

	height: auto;

	text-decoration: none;

	display: block;

	padding: 3px 6px 3px 25px;

	background: #7293C9;

	color: #FFFFFF;

	border-top-width: 1px;

	border-bottom-width: 1px;

	border-top-style: solid;

	border-bottom-style: solid;

	border-top-color: #FFFFFF;

	border-bottom-color: #FFFFFF;

}
VfB-Aragorn ·

Hier ein Screenshot des Menüs:
Bild: s5.directupload.net/…/865htuov.jpg

Ich habe im Beispielbild auf Ebene 3 geklickt und Ebene 4 erscheint gleich in Blau, obwohl die CSS Formatierung auf grau ist.

Die Ebene 4 und 5 nimmt also gar keine CSS Formatierung an. Selbst wenn ich die CSS Daten lösche, wird es weiter so angezeigt.

Woran könnte das liegen?