hallo profis
ich habe folgendes problem
ich habe ein textmenü, es klappt auch super! => nur eines geht nicht!!
ich möchte, dass wenn jemand auf einen menüpunkt klickt dieser eine bestimmte hintergrundfarbeibeibehällt. (derzeit aktiver menüpunkt)
hier der ausschnitt aus meinem typo code
#hauptmenü
seite.10.marks.HAUPTMENUE = HMENU
seite.10.marks.HAUPTMENUE.special = directory
seite.10.marks.HAUPTMENUE.special.value = 217
seite.10.marks.HAUPTMENUE.1 = TMENU
seite.10.marks.HAUPTMENUE.1.wrap = <div class = "hauptmenue"> | </div>
seite.10.marks.HAUPTMENUE.1.NO {
before =
after = </br>
}
und hier noch ein ausschnitt meiner css
/* Hauptmenue */
.hauptmenue {
font-weight: bold;
font-family: Tahoma;
text-decoration: none;
color: #FFFFFF;
font-size: 14px;
background-color: #CCCCCC;
width: 160px;
}
.hauptmenue a:link {
font-weight: bold;
font-family: Tahoma;
text-decoration: none;
color: #FFFFFF;
font-size: 14px;
background-color: #999999;
width: 160px;
}
.hauptmenue a:visited {
font-weight: bold;
font-family: Tahoma;
text-decoration: none;
color: #FFFFFF;
font-size: 14px;
width: 160px;
}
.hauptmenue a:active {
font-weight: bold;
font-family: Tahoma;
text-decoration: none;
color: #FFFFFF;
font-size: 14px;
background-color: #999999;
width: 160px;
}
.hauptmenue a:hover {
font-weight: bold;
font-family: Tahoma;
text-decoration: none;
color: #FFFFFF;
font-size: 14px;
background-color: #999999;
width: 160px;
}
kann mir jemand sagen, wie ich das hinbekomme
danke forum!