Hallo,
ich quäle mich schon seit einiger Zeit mit diesem Menü http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-bullet.htm das ich TS umsetzen will.
Leider habe ich noch zu wenig Erfahrung und bitte deswegen um eure hilfe.
Der Fehler ist sicher im TS!
Irgend-etwas fehlt da denn das eingebundene Menü ist immer offen die h3 fehlen und trotz js einbindung auch nicht den gewünschten Effekt.
Die js einbindung habe ich über Templavoiler gemacht.
Hier mal mein falsches TS HMENU und die dazugehörige css:
lib.field_nav = HMENU
lib.field_nav {
special = directory
special.value = 1
1 = TMENU
1 {
wrap = <ul>|</ul>
expAll = 1
NO = 1
NO.wrapItemAndSub = <li>|</li>
ACT < .NO
ACT.ATagParams = class="aktiv"
}
2 < .1
}
.arrowlistmenu{
width: 251px; /*width of accordion menu*/
padding-top: 37px;
}
.arrowlistmenu .menuheader{ /*CSS class for menu headers in general (expanding or not!)*/
font: bold 14px Arial;
color: white;
background: #cfaf86 url(titlebar1.gif) repeat-x center left;
margin-bottom: 10px; /*bottom spacing between header and rest of content*/
text-transform: uppercase;
padding: 4px 0 4px 30px; /*header text is indented 10px*/
cursor: hand;
cursor: pointer;
}
.arrowlistmenu .openheader{ /*CSS class to apply to expandable header when it's expanded*/
background-image: url(active.gif);
}
.arrowlistmenu ul{ /*CSS for UL of each sub menu*/
font: 13px Arial;
list-style-type: none;
margin: 0;
padding: 0;
margin-bottom: 8px; /*bottom spacing between each UL and rest of content*/
}
.arrowlistmenu ul li{
padding-bottom: 0px; /*bottom spacing between menu items*/
}
.arrowlistmenu ul li a{
color: grey;
/*background: url(arrowbullet.png) no-repeat center left; /*custom bullet list image*/
display: block;
padding: 3px 0;
padding-left: 53px; /*link text is indented 19px*/
text-decoration: none;
font-weight: bold;
border-bottom: 1px dotted #dadada;
font-size: 90%;
}
.arrowlistmenu ul li a:visited{
color: red;
}
.arrowlistmenu ul li a:hover{ /*hover state CSS*/
color: #c39703;
background-color: #fff6d3;
}
Danke schonmal im Voraus für eure Hilfe!
