ich habe in meinem Style ein Menü wo verschiedene Links enthalten sind, nur wenn ich auf einen enderen Link klicke springt der blaue balken wieder auf Portal zurück ich möchte aber das genau der link wo sich der User gerade befindet blau ist. Leider bin ich anscheinend etwas zu blöd dafür auf die Lösung zu kommen.
Hier mal der Link zum Board: X-Factor
Und hier noch die CSS des Menüs.
Code: Alles auswählen
.glossymenu{
position: relative;
padding: 0 0 0 44px;
margin: 0 auto 0 auto;
background-image: url("{T_THEME_PATH}/images/menub_bg.gif"); /*tab background image path*/
background-repeat: repeat-x;
height: 46px;
list-style: none;
}
.glossymenu li{
float:left;
}
.glossymenu li a{
float: left;
display: block;
color:#000;
text-decoration: none;
font-family: sans-serif;
font-size: 13px;
font-weight: bold;
padding:0 0 0 16px; /*Padding to accomodate left tab image. Do not change*/
height: 46px;
line-height: 46px;
text-align: center;
cursor: pointer;
}
.glossymenu li a b{
float: left;
display: block;
padding: 0 24px 0 8px; /*Padding of menu items*/
}
.glossymenu li.current a, .glossymenu li a:hover{
color: #fff;
background: url("{T_THEME_PATH}/images/menub_hover_left.gif") no-repeat; /*left tab image path*/
background-position: left;
}
.glossymenu li.current a b, .glossymenu li a:hover b{
color: #fff;
background: url("{T_THEME_PATH}/images/menub_hover_right.gif") no-repeat right top; /*right tab image path*/
}