O'Reilly logo

jQuery UI Cookbook by Adam Boduch

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 6. Making Menus

In this chapter, we will cover:

  • Creating sortable menu items
  • Highlighting the active menu item
  • Using effects with menu navigation
  • Building menus dynamically
  • Controlling the position of submenus
  • Applying themes to submenus

Introduction

The jQuery UI menu widget takes a list of links and presents them as a cohesive menu to the user by handling navigation in submenus, as well as applying classes from the theme framework. We can customize the menu to a certain degree, using just the default options available. In other cases, such as when we would like the menu items sortable, we can easily extend the widget.

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