moin,
ich versuche mich gerade an einer technik und komme irgendwie nicht weiter.
ich hätte ganz gerne das der geklickte menüpunkt eingefärbt bleibt, nachdem sich die neue datei geladen hat.
weiss wer rat?
meine css dazu
Code:
#suubmenu {
margin-top:3px;
margin-left: 10px;
}
#suubmenu dl {
width: 156px;
margin: 0 auto;
padding: 0 0 25px 0;
background-image: url(../../pix/subnavi/subnavi_footer.png);
background-repeat: no-repeat;
background-position: bottom left;
}
#suubmenu dt {
margin-top:0px;
padding-left: 15px;
padding-top: 1px;
padding-bottom: 2px;
font-size: 1.1em;
font-weight:bold;
color: #F9E20B;
background-image: url(../../pix/subnavi/subnavi_header.png);
background-repeat: no-repeat;
background-position: top left;
}
#suubmenu dd {
margin:0px 0px 0px 0px;
padding-left:4px;
color: #669;
font-size: 1em;
background-image: url(../../pix/subnavi/subnavi_content.png);
background-repeat: repeat-y;
background-position: top left;
}
#gaallery a, #gaallery a:visited {
color:#000000;
text-decoration:none;
display:block;
padding:0px 5px 8px 10px;
background: #FFFFFF;
width:135px;
height: 12px;
}
#gaallery a:hover {
background: #000000;
background-repeat: no-repeat;
color:#F9E20B;
}
#gaallery a:active, #gaallery a:focus {
background: #000000;
outline:0; /* for browsers that understand */
color:#F9E20B;
}
#gaallery ol, #gaallery li {font-size:11px;}
html
Code:
<div id="suubmenu">
<dl id="gaallery">
<dt>Subnavigation</dt>
<dd><a href="index.html" title="uebersicht">Übersicht</a></dd>
<dd><a href="route.html" title="route">Route</a></dd>
<dd><a href="#" title="ergebnisse">Ergebnisse</a></dd>
<dd><a href="organisation.html" title="organisation">Organisation</a></dd>
</dl>
</div