Hallo,
ich habe folgendes Problem was mich seit mehreren Tagen beschäftigt.
Ich habe eine Navigation mit 2 Ebenen. Die Navigationspunkte formatiere ich via CSS. Nun möchte ich, dass der aktive Navigationspunkt nicht anklickbar ist und einen weissen Hintergrund hat. Versuche mit doNotLinkIt=1 scheitern weil der Navigationspunkt dann jegliche CSS-Formatierung verliert.
Mein Code:
seite = PAGE
seite.includeLibs.tmenu_layers = media/scripts/tmenu_layers.php
seite {
# bla bla bla
# der uebliche Kram ...
# und dann das Menue
# MENUE-LINKS
10.subparts.LEFT= HMENU
10.subparts.LEFT {
special = directory
special.value = 57
entryLevel = 1
1 = TMENU
1 {
NO = 1
NO.ATagParams = class="level1"
NO.linkWrap = <ul><li class="level1">|</li> |*| <li class="level1">|</li> |*| <li class="level1">|</li></ul>
}
2 = TMENU
2 {
NO = 1
NO.ATagParams = class="level2"
NO.linkWrap = <ul><li class="level2">|</li> |*| <li class="level2">|</li> |*| <li class="level2">|</li></ul>
}
Der dazu gehörende CSS Code:
#navilinks {
background-color: #FFF;
}
#navilinks a:hover {
background-color: #F0F0F0;
color: #9d102d;
}
#navilinks ul {
margin: 0;
padding: 0;
list-style-type: none;
}
#navilinks a.level1 {
display: block;
width: 178px;
padding: 6px 3px 6px 12px;
text-decoration: none;
border-bottom: 1px solid #fff;
font-weight: bold;
font-size: 9pt;
}
#navilinks a.level2 {
display: block;
width: 178px;
padding: 6px 3px 6px 12px;
text-decoration: none;
border-bottom: 1px solid #fff;
font-weight: bold;
font-size: 9pt;
text-indent:10px;
}
Das muss gehen, dann hier klappt das ja auch:
http://www.eds.de/finanzen_de.html
Hat jemand von Euch eine Idee ???
DANKE