
trying sort out menu's still...
got parent items running smoothly along top. can style them until links remain active.
however, sublevel navigation still rips active status away. i've got sublevel items listed in separate location, , working too. why won't top line remain active? here's ol' css :
a.mainlevel-top,a.mainlevel_active-top, a#active_menu-top.mainlevel_current-top{
color:#fff;
padding-top: 6px;
padding-right: 16px;
padding-bottom: 6px;
padding-left: 16px;
top: -21px;
}
a.mainlevel-top:hover, a#active_menu-top.mainlevel-top, a.mainlevel_active-top,
a#active_menu-top.mainlevel_current-top{
background-color: #cc00cc;
color:#ffffff;
padding-top: 6px;
padding-right: 16px;
padding-bottom: 6px;
padding-left: 16px;
}
a.mainlevel:hover, a#active_menu.mainlevel{
background-color: #cc00cc;
color:#ffffff;
padding-top: 6px;
padding-right: 16px;
padding-bottom: 6px;
padding-left: 16px;
}
a.mainlevel_active-top {
background-color: #ff3333;
}
a#active_menu-top.mainlevel_current-top{
background-color: #cc66ff;
}
a#active_menu.mainlevel{
background-color: #cc00cc;
}
a.mainlevel /*a.sublevel */{
color:#ffffff;
font-size:11px;
padding:6px 0px 6px 10px;
background-color: #0066cc;
}
a.sublevel:hover{
color:#00ff00;
}
a#active_menu.sublevel{
color:#000;
}
don't worry randomness of colour, it's i'm trying work thing out. help, , i'll buy beer!
richrock wrote:however, sublevel navigation still rips active status away. i've got sublevel items listed in separate location, , working too. why won't top line remain active?
same problem here. can't give parent item of active sublevel unique style. looks other mainlevel-items.
i great if can post solution fix this.
Comments
Post a Comment