This example demonstrates how to create a basic menu using existing markup on the page. The Menu API also supports building a menu like this using nothing but JavaScript.