Hallo Kann mir jemand helfen. Ich versuche seit längerem mein Menu zu erstellen wie bei typo3 4.6 aber es funktioniert nicht richtig.
page.10.marks.HN = HMENU
page.10.marks.HN {
special = directory
entryLevel = 1
# Seite Menü_links hat die id = 69
special.value = 69
# Erste Stufe der Hierarchie, hier 1.
# Sagt, dass folgende Stufe auf Layers ist
1 = TMENU
1.layerStyle = position: absolute; visibility: hidden;
# Relativ zum geklickten Menüpunkt: relativeToTriggerItem
# Ist praktisch, setzt aber einen
# <div> Tag um jeden Menüeintrag, welcher immer
# eine neue Zeile macht.
# Darum später alles in Tabelle bringen
1.relativeToTriggerItem = 1
# horizontale Verschiebung gegenüber Menüpunkt: 0px
1.leftOffset = 0
# vertikale Verschiebung gegenüber Menüpunkt: 15px
1.topOffset = 5
# Menüs klappen automatisch auf
1.expAll = 0
# NO ist der normale Zustand. = 1 sagt, dass er aktiv ist
1.NO = 1
# NO ist der normale Zustand. = 1 sagt, dass er aktiv ist
1.NO.allWrap (
<table>
<tr><td> | </td>
|*|<td>|</td><td> | </td>
|*|<td>|</td><td> | </td>
</tr></table>
)
# Zweite Hierarchiestufe
2 = TMENU
2.NO = 1
2.NO.linkWrap= <p class="un">|</p>
# Aktizustand ACT für HN
1.ACT < .1.NO
# Aktivzustand anpassen: id aktiv in Link packen
1.ACT.ATagParams = id="aktiv"
# Ende von HN
}
#hn {
width: 1024px;
height: 25px;
color: #fff;
}
#hn table {
font-family: Century Gothic, Verdana, Geneva, sans-serif;
font-size: 14px;
display: inline;
list-style-type: none;
padding-right: 20px;
}
#hn table td {
text-decoration: none;
padding-right: 15px;
}
#hn table td a {
text-decoration: none;
color: #000;
opacity: 1.0;
}
#hn table td a:hover {
color: #FC0000;
text-decoration: none;
opacity: 1.0;
}
#hn table td a:active {
color: #FC0000;
text-decoration: none;
opacity: 1.0;
}
#hn table div {
display: inline;
}
p.un {
background-color: #000;
position: relativ;
font-family: Century Gothic, Verdana, Geneva, sans-serif;
}
p.un a {
font-size: 14px;
color: #fff;
text-decoration: none;
}
p.un a:hover {
font-size: 14px;
color: #FC0000;
text-decoration: none;
}
p.un a:active {
font-size: 14px;
color: #FC0000;
text-decoration: none;
}
Danke für eure Hilfe!