Chapter 10. jQuery UI mouse interactions: Follow that mouse!

This chapter covers

  • Core mouse interactions
  • Implementing drag and drop
  • Making things sortable
  • Allowing resizing
  • Making things selectable

Few usability experts would argue that direct manipulation isn’t key to good user interfaces. Allowing users to directly interact with elements and immediately see the effects of their activities is a much better user experience than some abstraction that approximates the activities.

Take sorting a list of elements for example. How would we allow users to specify a sort order for the elements? Using just the basic set of controls available in HTML 4, there’s not a whole lot of flexibility available to us. Showing the list of elements followed ...

Get jQuery in Action, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.