Moin Moin!
Zu aller erst muss ich sagen, dass ich ein Anfänger bin, was Typo3 anbelangt. Ich hab es jedoch mit viel Googlen doch noch zu einem gewissen Punkt gebracht.
Nun macht aber das Menu net das was es soll. Genauergesagt zeigt es mir einfach nur eine Liste an, nicht jedoch das Menu so wie ich es wollte.
Es ist ein Reines CSS Menu.
### Menü ###
subparts.menu = HMENU
subparts.menu {
###Erste Ebene###
1 = TMENU
1 {
wrap = <ul class="menu">|</ul>
expAll = 1
NO.wrapItemAndSub = <li>|</li>
ACT < .NO
ACT = 1
ACT.ATagParams = class="active"
}
### Zweite Ebene ###
2 = TMENU
2 {
wrap = <ul>|</ul>
NO.allWrap = <li>|</li>
Soweit zum Typoscript für das Menu. Das CSS habe ich auch da eingebunden, diese Einbindung funktioniert allerdings.
.bg {background: url(images/bg.gif);}
.menu {padding:0 0 0 32px; margin:0; list-style:none; height:40px; background:#EB8798 url(images/bg_menu.gif) repeat-x; position:relative; font-family:arial, verdana, sans-serif; }
.menu li.top {display:block; float:left; position:relative;}
.menu li a.top_link {display:block; float:left; height:40px; line-height:33px; color:#bbb; text-decoration:none; font-size:11px; font-weight:bold; padding:0 0 0 12px; cursor:pointer;}
.menu li a.top_link span {float:left; font-weight:bold; display:block; padding:0 24px 0 12px; height:40px;}
.menu li a.top_link span.down {float:left; display:block; padding:0 24px 0 12px; height:40px; background:url(images/down.gif) no-repeat right top;}
.menu li a.top_link:hover {color:#000; background: url(images/bg.gif) no-repeat;}
.menu li a.top_link:hover span {background:url(images/bg.gif) no-repeat right top;}
.menu li a.top_link:hover span.down {background:url(images/bga.gif) no-repeat right top;}
.menu li:hover > a.top_link {color:#000; background: url(images/bg.gif) no-repeat;}
.menu li:hover > a.top_link span {background:url(images/bg.gif) no-repeat right top;}
.menu li:hover > a.top_link span.down {background:url(images/bga.gif) no-repeat right top;}
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}
.menu a:hover {visibility:visible;}
.menu li:hover {position:relative; z-index:200;}
.menu ul,
.menu :hover ul ul,
.menu :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul ul,
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
.menu :hover ul.sub {left:2px; top:40px; right:2px; background: #EB8798; padding:3px 0; border:1px solid #99182D; white-space:nowrap; width:200px; height:auto;}
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:250px;}
.menu :hover ul.sub li a {font-weight:normal;display:block; font-size:11px; height:20px; width:192px; line-height:20px; text-indent:5px; color:#000; text-decoration:none; border:3px solid #EB8798; border-width:0 0 0 3px;}
.menu :hover ul.sub li a.fly {background:#EB8798 url(images/arrow.gif) 80px 7px no-repeat;}
.menu :hover ul.sub li a:hover {background:#99182D; color:#EB8798;}
.menu :hover ul.sub li a.fly:hover {background:#99182D url(images/arrow_over.gif) 80px 7px no-repeat; color:#EB8798;}
.menu :hover ul li:hover > a.fly {background:#99182D url(images/arrow_over.gif) 80px 7px no-repeat; color:#EB8798;}
.menu :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul,
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
{left:90px; top:-4px; background: #EB8798; padding:3px 0; border:1px solid 999999; white-space:nowrap; width:93px; z-index:200; height:auto;}
Und vlt hilft euch der Menuteil des HTML-Templates noch weiter^^
<!-- ###menu### begin -->
<ul class="menu">
<li class="top">
<a href="index.php?id=2" target="_self" class="top_link"><span>Menupunkt1</span></a>
</li>
<li class="top">
<a href="" target="_self" class="top_link"><span>Menupunkt2</span></a>
<ul class="sub">
<li><a href="index.php?id=11" target="_self">Untermenu1</a></li>
<li><a href="index.php?id=12" target="_self">Untermenu2</a></li>
<li><a href="index.php?id=13" target="_self">Untermenu3</a></li>
</ul>
</li>
</ul>
<!-- ###menu###end -->
Ich hoffe, ich hab mich versändlich genug ausgedrückt^^
Danke schon im Voraus für eure Hilfe
lg
Joker