Zum Inhalt springen

TMENU ATagParams nicht in HTML

Erstellt am 9. März 2006 · Noch keine Antworten

Tags: HTML & CSS, Frage

maze ·

Ich verwende das template CrCPH und habe ein Problem, die Farbe der SubMenuLinks anders zu machen.

temp.L2menuItems = HMENU
temp.L2menuItems.entryLevel = 1
temp.L2menuItems.1 = TMENU
temp.L2menuItems.1.NO {
before.cObject < temp.mainTemplate
before.cObject {
workOnSubpart = SUB_L2MENU_ITEM
marks.MENU_TITLE = TEXT
marks.MENU_TITLE.field = title
wraps.LINK = TEXT
wraps.LINK {
value = |
typolink.parameter.field = uid
typolink.ATagParams = class="top"
}
}
doNotShowLink = 1
}
...
<style type="text/css">
.top:link {text-decoration: none ;color: #333333;}
.top:visited {text-decoration: none ;color: #333333;}
.top:active {text-decoration: none ;color: #333333;}
.top:hover {text-decoration: underline ;color: #333333;}
</style>
...
<!-- ###SUB_L2MENU### start	-->
            <table width="100%" border="0" cellspacing="2" cellpadding="2">
              <!-- ###SUB_L2MENU_ALLITEMS### start	-->
              <!-- ###SUB_L2MENU_ITEM### start	-->
              <tr> 
          <td valign="top"><img src="media/uploads/crcph/pil2.gif" width="3" height="9" alt="" /></td>
          <td valign="top" align="left"><font class="top" face="Verdana, Arial, Helvetica, sans-serif" size="1"><!--###LINK###-->###MENU_TITLE###<!--###LINK###--></font></td>
        </tr>
			<!-- ###SUB_L2MENU_ITEM### end	-->
			<!-- ###SUB_L2MENU_ITEM_ACT### start	-->
	     <tr> 
          <td valign="top"><img src="media/uploads/crcph/pil2.gif" width="3" height="9" alt="" /></td>
          <td valign="top" align="left"><font class="top" face="Verdana, Arial, Helvetica, sans-serif" size="1"><!--###LINK###--><strong>###MENU_TITLE###</strong><!--###LINK###--></font></td>
        </tr>
			<!-- ###SUB_L2MENU_ITEM_ACT### end	-->
       
		<!-- ###SUB_L2MENU_ALLITEMS### end -->
      </table>
	<!-- ###SUB_L2MENU### end -->

Im A-Tag des HTML-Files wird der Parameter class aber leider nicht angezeigt. Hat jemand eine Idee, was ich falsch mache?

Danke!