Hallo Zusammen
Ich site an einem Problem, das ich ich nicht hinbekomme.
Und zwar ist es folgendes.
Die Navigation sieht wie folgt aus:
Home
menutitle
- submenu1
- submenu2
Link
menutitle - submenu1
- submenu2
- submenu3
menutitle - submenu1
- submenu2
- submenu3
usw
nun wie bringe ich das hin, das der menutitle als Hover fungiert und wenn man auf ein submenu klickt, dass dann menu offen bleibt?
und wie bekommt man das hin, dass dann der link aktiv ist, wenn diese seite betrachtet wird?
hier mal mein CODE
navigation.css
a {
color : #b15002;
text-decoration : none;
}
a:visited {
color : #b15002;
text-decoration : none;
}
a:focus {
color : #b15002;
text-decoration : none;
}
a:hover {
color : #744646;
text-decoration : none;
}
a:active {
color : #744646;
text-decoration : none;
}
.menutitle {
color : #b15002;
cursor : pointer;
font-size : 17px;
font-weight : bolder;
margin-bottom : 3px;
margin-top : 3px;
padding : 2px;
padding-left : 0px;
width : 180px;
}
.submenu {
color : #b15002;
font-size : 15px;
margin-bottom : 10px;
padding-left : 5px;
}
navigation.php
Ausbildung