This page demonstrates the usage of the html legend. It shows example of scrollbars for the vertical menu and setting up a horizontal menu.

It also shows the selected legend highlighted