Zum Inhalt springen

ACT funktioniert nicht auf 2. level tmenu

Erstellt am 3. November 2006 · 2 Antworten · letzte Antwort am 3. November 2006

Tags: Frage

panderas ·

NO funktioniert fehlerfrei.. aber ACT funktioniert nicht.. kann mir jemand helfen? dies ist mein Template für die Navigation:

tmp.HAUPTNAVI = HMENU
tmp.HAUPTNAVI {
wrap = <div id="navigation"> | </div>
  1 = GMENU
  1 {
	NO = 1
	NO { 
		backColor = #FFFFFF
		XY = 200, 30
		10 = TEXT
		10.text.field = title
		10.fontFile = fileadmin/fonts/B-ProHelvetia-Med.ttf
		10.fontColor = #000000
		10.fontSize = 21
		10.offset = 2, 22
		10.niceText = 1
	   }
	ACT = 1
	ACT {
		XY = 200, 30
		10 = TEXT
		10.text.field = title
		10.fontColor = #e682b4
		10.fontFile = fileadmin/fonts/B-ProHelvetia-Med.ttf
		10.fontSize = 21
		10.offset = 2, 22
		10.niceText = 1
	}
    }
  2 = TMENU
  2 {
  	wrap= <ul id="navLevel2"> | </ul>
	NO = 1
	NO { 
		allWrap = <li> | </li>
		ATagBeforeWrap = 1
	   }
	ACT = 1
	ACT {
		10.fontColor = #e682b4
		allWrap = <li> | </li>
	}


    }
}
panderas ·

so sieht der teil für navigation im css aus:

#navigation {
  margin-top:40px;
  background-color:#FFFFFF;
  font-family:B-ProHelvetia-Med; src:url(B-ProHelvetia-Med.ttf), url(B-ProHelvetia-Med.ttf) format(TrueType);
  font-color: #000000;
  font-size: 17;
  list-style: none;
}

#navLevel2 {
  text-decoration: none;
  font-family:B-ProHelvetia-Med; src:url(B-ProHelvetia-Med.ttf), url(B-ProHelvetia-Med.ttf) format(TrueType);
  border-top: 1px solid #e682b4;
  margin:0px;
  padding:0px;
  list-style: none; 
  height: 15px;
  width: 100%
}

html>body #navLevel2 {
  height: auto;
}

#navLevel2 li a {
  font-size:70%;
  font-weight:bold;
  color:#000000;
	padding:2px 0px 2px 2px;
	text-decoration:none;
  border-bottom: 1px solid #e682b4;
	display: block;
 	voice-family: "\"}\""; 
 	voice-family:inherit;
  height:15px;
  list-style: none; 
}
html>body #navLevel2 li a {
  height: auto;
  text-decoration:none;
}

#navLevel2 li a:hover {
  color:#cb0066;
  text-decoration:none;
}

#navLevel2 li.active a:link, #navLevel2 li.active a:visited, #navLevel2 li.active a:active, #navLevel2 li.active a:hover  {
  color:#cb0066;
  border-bottom:1px solid #cb0066;
  text-decoration:none;
}

/*navLevel 3 */
#navLevel2 #navLevel3 {
  border-bottom:1px solid #cb0066;
  margin:0px;
	padding:0px;
	list-style-type: none; 
 	voice-family: "\"}\""; 
 	voice-family:inherit;
  height: 15px;
  text-decoration:none;
}
html>body #navLevel2 #navLevel3 {
  height: auto;
  text-decoration:none;
}

#navLevel2 #navLevel3 li a {
  color:#666666;
  font-size:70%;
  font-weight:normal;
  display: block;
  padding:2px 0px 2px 2px;
  text-decoration:none;
  border-bottom:1px solid #FFFFFF;
  voice-family: "\"}\""; 
  voice-family:inherit;
  height:15px;
}
html>body #navLevel2 #navLevel3 li a {
  height: auto;
  color:#666666;
  text-decoration:none;
}

#navLevel2 #navLevel3 li a:hover {
  color:#cb0066;
  text-decoration:none;
}

#navLevel2 #navLevel3 li.active a:link, #navLevel2 #navLevel3 li.active a:visited, #navLevel2 #navLevel3 li.active a:active, #navLevel2 #navLevel3 li.active a:hover  {
  color:#cb0066;
  border-bottom:1px solid #FFFFFF;
  text-decoration:none;
}

/*navLevel 4 */
#navLevel2 #navLevel3 #navLevel4 {
  margin:0px;
	padding:0px;
	list-style-type: none; 
 	voice-family: "\"}\""; 
 	voice-family:inherit;
  height: 15px;
  text-decoration:none;
}
html>body #navLevel2 #navLevel3 #navLevel4 {
  height: auto;
  text-decoration:none;
}

#navLevel2 #navLevel3 #navLevel4 li a {
  margin:0px;
  color:#666666;
	padding:2px 0px 2px 17px;
	list-style-type: none; 
 	voice-family: "\"}\""; 
 	voice-family:inherit;
  height:15px;
  text-decoration:none;
}
html>body #navLevel2 #navLevel3 #navLevel4 li a {
  height:auto;
}

#navLevel2 #navLevel3 #navLevel4 li a:hover {
  color:#cb0066;
	padding:2px 0px 2px 17px;
  background-image:url(../_img/img_navArrow.gif);
  background-repeat:no-repeat;
  background-position: 4px 5px;
  text-decoration:none;
}

#navLevel2 #navLevel3 #navLevel4 li.active a:link, #navLevel2 #navLevel3 #navLevel4 li.active a:visited, #navLevel2 #navLevel3 #navLevel4 li.active a:active, #navLevel2 #navLevel3 #navLevel4 li.active a:hover  {
  font-size:70%;
  font-weight:normal;
  color:#cb0066;
	display: block;
	padding:2px 0px 2px 17px;
	text-decoration:none;
  border-bottom:1px solid #FFFFFF;
  background-image:url(../_img/img_navArrow.gif);
  background-repeat:no-repeat;
  background-position: 4px 5px;
  text-decoration:none;
}

wenn ich es so <li id="navLevel2"> | </li> eingebe, sollte es doch wissen ob es activ ist oder nicht? richtig? hat jedenfalls nicht funktioniert..