YADM expanding menu example

This example shows how to create an expanding menu with YADM.

Right-click of shift-click the following links to see or save the files.

To avoid the current section of the site navigation to be collapsed, add a class with the name 'current' to at least one element. Add the class 'nohover' to the main navigation element to turn off the mouseover effects. This will also enable you to expand and collapse other sub-menus than the current one. See the source of this page for an example.