This example illustrates jsDomenu set up to be activated when the user left clicks anywhere on the page. Check out the configuration file ("ddconfig.js") to see how this is set up, and view the source of this page to see the necessary codes to insert on your page.
Obviously, be sure to also check out the other folders outside of "dynamicdrive" for comprehensive documentation and demos as provided by the author himself.
Enjoy!