Zum Inhalt springen

HMENU

Erstellt am 21. Februar 2008 · 4 Antworten · letzte Antwort am 7. März 2008

Tags: Frage

ristic ·

Hallo Leute,

ich hab ein Problem was mich wahnsinnig fuchst. Ein Menü mit 2 Navigationsebenen, wobei die erste nicht klickbar ist.

Im Grunde will ich nur noch einen Effekt bei der jeweiligen aktivierten Seite anzeigen lassen. Aber wie es scheint ignoriert er mir komplett das ACT???!!!

Hier mal der Code, vielleicht habt ihr eine Ahnung woran es liegen könnte. Vielen Dank im Voraus.

# the new mainNavi on the left side
temp.menu100 = HMENU
temp.menu100 {
	special = directory
	special.value = 2195
	
	1 = TMENU

        1 {
        	expAll = 1
		# the normal status for the head toggle
	        NO = 1
	        wrap = <ul>|</ul>
	        NO {
	        	# don't link the firstnav
		        doNotLinkIt = 1
        		allWrap = <li>|</li>
        		# wrap the first nav because of the css
        		linkWrap = <a>|</a>
          	}
		
		# the spacer (pages with the behavior distance are necessary)
		SPC = 1
		SPC {
			doNotLinkIt = 1
			wrapItemAndSub = <li class="whiteblank">|</li>
		}
        } 
        
        2 < .1
        2 {      	     	
       		NO {
       			linkWrap =  |
       			doNotLinkIt = 0
			allWrap = <li class="test">|</li>
			ATagTitle.field = abstract // description // title
       		}       		
       		
       		ACT < .NO
       		ACT = 1
       		ACT {
			allWrap = <li class="active">|</li>
       		}
        }  
}
ristic ·

Ja genau, der aktive Zustand soll einfach eine andere Klasse sein, wobei er mir das Ganze komplett zu ignorieren scheint?! #paralyzed#

Daniel

ristic ·

Ich dachte ich hab alles probiert. Aber es war dann im Grunde nichts großartiges. Das ACT durfte nicht auf 1 gesetzt werden.

# the new mainNavi on the left side
temp.menu100 = HMENU
temp.menu100 {
	special = directory
	special.value = 2195
	
	1 = TMENU

        1 {
        	expAll = 1
		# the normal status for the head toggle
	        NO = 1
	        wrap = <ul>|</ul>
	        NO {
	        	# don't link the firstnav
		        doNotLinkIt = 1
        		allWrap = <li>|</li>
        		# wrap the first nav because of the css
        		linkWrap = <a>|</a>
          	}
		
		# the spacer (pages with the behavior distance are necessary)
		SPC = 1
		SPC {
			doNotLinkIt = 1
			wrapItemAndSub = <li class="whiteblank">|</li>
		}
        } 
        
        2 < .1
        2 {      	     	
       		NO {
       			linkWrap =  |
       			doNotLinkIt = 0
			allWrap = <li>|</li>
			ATagTitle.field = abstract // description // title
       		}       		
       		
       		ACT < .NO
       		#ACT = 1
       		ACT {
			allWrap = <li class="active">|</li>
       		}
        }  
}