Ich habe mein vertikales Menü nun hinbekommen - soweit ...
Im Fox, Safari, Netscape, Opera sieht es soweit bestens aus, nur der IE knallt mir total quer rein und ich weiß nicht mehr weiter.
Habe auch für den IE ein extra css angelegt.
Könnt Ihr mal schauen?
http://www.schwetzingen-aktuell.de/cms/index.php?id=4
http://www.schwetzingen-aktuell.de/cms/index.php?id=16
Irgendwas verdeckt mir das 2te Menü ... und ich komm ned drauf.
Code:
LINK = HMENU
LINK {
special = directory
# Hier die Start-ID angeben
special.value = 1
entryLevel = 0
# Erste Ebene
1 = TMENU
1 {
wap = <ul>|</ul>
expAll = 0
noBlur = 1
NO.ATagTitle.field = title
NO.stdWrap.prepend = COA
NO.stdWrap.prepend.10.wrap = ~ |
IFSUB = 1
IFSUB {
wrapItemAndSub = <li> | </li>
allWrap = | <!--<![endif]-->
ATagBeforeWrap = 1
}
NO.stdWrap.htmlSpecialChars = 1
NO.wrapItemAndSub = <li onmouseover="show(this)" onmouseout="hide(this)">|</li>
ACT < .NO
ACT = 1
ACT.ATagParams = id="mainmenuactive"
}
# Zweite Ebene #
2 = TMENU
2 {
wrap = <div id="menu2-container"><ul id="menu2-top"><ul id="menu2"> | <ul id="menu2-bottom"></ul></ul></ul></div>
expAll = 0
noBlur = 1
NO.ATagTitle.field = title
NO.wrapItemAndSub = <li> | </li>
IFSUB = 1
IFSUB {
wrapItemAndSub = <li> | </li>
allWrap = | <!--<![endif]-->
linkWrap = |<!--[if IE 7]><!-->
ATagBeforeWrap = 1
ATagParams = id="menu2txt"
ACTIFSUB < .IFSUB
ACTIFSUB.ATagParams = id="menu2txtactive"
}
}
}
CSS für IE:
Code:
/* ERSTE EBENE */
#mainmenu {
position: relative;
float: left;
margin-top: 10px;
margin-left: -185px;
width: 184px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
line-height: 1.8;
list-style-type: none;
z-index: 100;
}
#mainmenu A:hover {
margin-left: -3px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
text-decoration: none;
color: #FD0361;
}
#mainmenuactive {
margin-left: -3px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 14px;
text-decoration: none;
color: #B0B0FB;
}
/* ZWEITE EBENE */
#menu2-container ul {
position: absolute;
margin-top: -15px;
margin-left: 150px;
filter: alpha(opacity=80);
opacity: 0.80; /* Opera */
-moz-opacity: 0.8; /* Gecko */
width: 160px;
display: block;
z-index: 120;
}
#menu2-top ul {
position: absolute;
margin-top: 0px;
margin-left: 0px;
width: 160px;
background-image: url(../images/fd_menu_lev2_sz_top.png);
background-repeat: no-repeat;
display: block;
z-index: 110;
}
#menu2 ul {
position: absolute;
margin-top: -80px;
margin-left: -10px;
padding: 2px;
padding-left: 10px;
width: 160px;
background-image: url(../images/fd_menu_lev2_sz.png);
background-repeat: repeat-y;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
font-weight: bold;
text-decoration: none;
list-style-type: none;
display: block;
z-index: 100;
}
.menu2-bottom ul {
position: absolute;
margin-top: 50px;
margin-left: 0px;
width: 160px;
height: 24px;
background-image: url(../images/fd_menu_lev2_sz_bottom.png);
background-repeat: repeat-y;
display: block;
z-index: 110;
}
#menu2txt {
margin-left: 0px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
text-decoration: none;
list-style-type: none;
color: #FFFFFF;
}
#menu2 A:hover {
margin-left: -3px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
text-decoration: none;
list-style-type: none;
color: #FD0361;
}
#menu2txtactive {
margin-left: -3px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
text-decoration: none;
list-style-type: none;
color: #B0B0FB;
}
Weiterhin sollten die Folge-Ebenen eigentlich bei Mouseover (der ersten Ebene) aufklappen und bei Mouseout wieder zu. Derzeit geht die 2. Ebene ja nur bei Klick auf und bleibt stehen (2. Ebene ist überigens nur bei "Stadt", "Lokalnachrichten" und "SIM-intern".
Merci
Gersh