mootoolsdrop-down-menu

How to make multilevel drop down navigation with mootools?


I'm new to mootools and I want a navigation with multilevel. I don't want to use a class on sub unorder lists. like:

<ul id="navigation">
<li><a href="#">menu 1</a>
    <ul>
        <li><a>menu 1 sub1</a></li>
        <li><a>menu 1 sub2</a>
            <ul>
                <li><a>menu 1 sub2 sub1</a></li>
            </ul>
        </li>
    </ul>
</li>

Any help will be appreciated.


Solution

  • I recently used http://mootools.net/forge/p/moodropmenu , which was straight forward. Note: the demo uses MooTools 1.2 http://www.aryweb.nl/projects/MooDropMenu/ , but looking at the source I think it should work with 1.3 nocompat too.