Well... it's mostly CSS based when it comes to positioning of the elements. Ofcourse there is a little bit of JS needed to make the magic happen. I decided to use JS for both MS and Mozilla based browsers for the simple fact that I can keep the CSS the same between both browsers. It's only tested on FF 1.5 and IE 6 let me know if you works for you. I created this version so you all know how to make a thing like this in TYPO3.
Btw... YACBDDM stands for Yet Another CSS based drop down menu (for TYPO3)
A general structure for such a menu is like this: (taken from
http://www.alistapart.com/)
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a>
<ul>
<li><a href="#">History</a></li>
<li><a href="#">Team</a></li>
<li><a href="#">Offices</a></li>
</ul>
</li>
<li><a href="#">Contact Us</a>
<ul>
<li><a href="#">United Kingdom</a></li>
<li><a href="#">France</a></li>
<li><a href="#">USA</a></li>
<li><a href="#">Australia</a></li>
</ul>
</li>
</ul>
The Typoscript for a menu like the above is straight forware. Simple un-ordered lists into each other. Make sure that the UL tag comes directly after the tag and not in it's own list element.
Documentation for
CSS and
javascript (both downloadeable wil follow).
Will finnish this tomorrow