concept draggable in category javascript
appears as: draggable, draggables, draggables

This is an excerpt from Manning's book Prototype and Scriptaculous in Action.
The interface elements that can accept draggable items are generally known as drop targets. Scriptaculous uses the somewhat ambiguous term droppable—it could be argued that “droppable” should mean something able to be dropped (in other words, a synonym for a draggable), rather than something upon which things can be dropped. But since this chapter will focus on the Scriptaculous drag-and-drop system, we’ll use the term “droppable” to mean an interface element that will accept draggable items.
Table 7.2. Droppables.add() options
Description
hoverclass A class name that will be applied to the drop target when a draggable hovers over it. There is no default. accept A class name, or array of class names, that a draggable item must possess in order to be accepted by the drop target. By default, no class name constraints are applied. containment An element, or array of elements, that must be a parent of a draggable item in order for it to be accepted by the drop target. By default, no containment constraints are applied. onHover A callback function that is activated when a suitable draggable item hovers over the drop target. overlap A value specifying that extra positioning information is to be supplied to the onHover callback. The value may be set to horizontal or vertical. The droppable will only react to a draggable if it is overlapping the droppable by more than 50 percent in the specified direction. onDrop A callback function that is called when a suitable draggable element is dropped onto the drop target.