O'Reilly logo

Prototype and Scriptaculous in Action by Tom Locke, Bear Bibeault, Dave Crane

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 7. Scriptaculous Drag and Drop

This chapter covers

  • Understanding drag-and-drop operations
  • Creating draggable page elements
  • Reacting to dropped draggable elements
  • Using drag and drop to sort elements

In the previous two chapters, we’ve seen ways that Scriptaculous effects and extended controls can extend the capabilities of our web applications beyond the capabilities provided by native HTML form elements. In this chapter we’ll explore yet another capability that Scriptaculous gives us to create spectacular user interfaces.

Few usability experts would argue that among the most ubiquitous and useful user interface interactions is the technique of drag and drop. Sometimes also termed click and drag, drag and drop is an easily adopted ...

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