O'Reilly logo

jQuery UI 1.10: The User Interface Library for jQuery by Dan Wellman, Alex Libby

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Creating Menus

The menu widget, previously a part of the autocomplete widget, became a standalone plugin in its own right from Version 1.9 of the library, which allows for its re-use in other components. It can be used on its own to transform a list of hyperlinks into a themeable menu that can be controlled using the keyboard or mouse, although it really comes into its own when used with other components such as buttons.

Each menu has a number of menu items associated with it, which when selected will direct the visitor to any part of your site. When you click on the top level, a number of submenu items will slide into view; these may have extra decoration in the form of icons, or be disabled if access is to be prevented at the time ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required