O'Reilly logo

jQuery Mobile Web Development Essentials Second Edition by Andy Matthews, Raymond Camden

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

Working with list features

jQuery Mobile provides multiple different styles of lists, as well as different features that can be applied to them. For the next part of this chapter we'll cover some (but not all!) of these options available. These aren't in any particular order and are presented as a gallery of options available to you. You probably will not (and should not!) try to use all of these within one application, but it's good to keep in mind the various types of list styles jQuery Mobile has available.

Creating inset lists

One of the simplest and slickest changes you can make to your lists is to turn them into inset lists. These are lists that do not take up the full width of the device. Taking the initial list we modified with data-role="content" ...

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