Handling Menu Click Events
Handling Menu Click Events
This example demonstrates how to register a "click" event handler for a
MenuItem instance.
Note: By default clicking outside of a Menu instance will hide it.
Additionally, MenuItem instances without a submenu or a URL to navigate to will
hide their parent Menu instance when clicked. Click the "Show Menu" button
below to make the Menu instance visible if it is hidden.
yui_2.7.0b.zip( 4,431 k)