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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.