Zum Inhalt springen

Menü aktiv setzen

Erstellt am 10. April 2007 · 4 Antworten · letzte Antwort am 10. April 2007

Tags: Frage

stetze ·

würd gern wenn der eine menüpunkt aktiv ist auch so dargestellt wird wie ich ihn in der css datei hab...
wie mach ich das?

TABMENU = HMENU
TABMENU {

	1 = TMENU
	1.wrap= <div id="level1"></div>
	1.noBlur = 1

	1.NO = 1
	1.NO.ATagTitle.field = title	

          1.NO.linkWrap = <li>|</li>
	
        1.ACT = 1
	1.ACT < .NO
	1.ACT.doNotLinkIt = 1
	1.ACT.allWrap = <li>|</li>  
       
       }
einpraegsam.​net ·

Beispiel Menü:

temp.limenu = HMENU
temp.limenu {
	#special = directory
	#special.value = 1
	#entryLevel = 1
	wrap = <h2 style="display: none;">Haupt-Navigation:</h2>|
	1 = TMENU
	1 {
		wrap = <ul>|</ul>
		noBlur = 1
		NO.ATagTitle.field = subtitle // title
		NO.allWrap =  <li>|</li>
		NO.ATagParams = class="no"
  		NO.stdWrap.htmlSpecialChars = 1 
		
		ACT = 1
		ACT.wrapItemAndSub = <li>|</li>
		ACT.ATagTitle.field = subtitle // title
		ACT.ATagParams = class="act"
 		ACT.stdWrap.htmlSpecialChars = 1 
	}
	2 < .1
	3 < .1
}

page.10.marks.menu < temp.limenu
stetze ·

danke für die schnelle antwort...
das menü hab ich ja schon...
muss doch nur irgendwie noch eintragen können das es den aktuellen status dann aus der css datei holt?

stetze ·

funktioniert leider immer noch nicht...

	MENU = HMENU
        MENU {

	1 = TMENU
	1.wrap= <div id="level1"></div>
	1.noBlur = 1
	1.NO = 1
	1.NO.ATagTitle.field = title	
        1.NO.linkWrap = <li>|</li>
        1.ACT.ATagParams = id ="active"
       }
      
     MENU_SEITE = HMENU
       MENU_SEITE {
       entryLevel = 1
        1 = TMENU
        1.NO = 1
        1.wrap = <div id="level2"></div>  
          } 

}
#nav li a:active {
	padding-bottom: 4px;
	background-color: white;
	border-bottom: 1px solid white;
}