An example of using Lists for DHTML menus at gazingus.org:
My goals for these menus were as follows:
- Use appropriate standard markup: Use
<ul>instead of<div>or<table>.- Degrade gracefully in older browsers: All browsers should have access to the menu content.
- Use minimal JavaScript: Focus on DOM-compliant browsers for dynamic functionality; avoid using a bloated DHTML API.