views:

244

answers:

4

I've seen many implementations of draggable divs in jQuery, .Net Ajax, and plain old javascript. While they are all novel, and solve the problem with varying ease, I've never understood what the point was.

What is the value of a draggable div? What use case does a draggable div implement?

Are there places where draggable divs improve the user experience, or are they the web 2.0 version of the <blink> tag?

+7  A: 

No no no...they are NOT in any way like the blink tag.

There are many use cases. Notice iGoogle home page. The user interface is quite easy to use and modify because of draggable divs.

Selecting multiple items from a list is another use case. The blogspot blog page editor uses draggable divs to help you rearrange your page. Like with everything else the features on your user interface must make sense to the user. If something can be moved by the user on the page then a draggable div is a good idea. Without it, a trip back to the server might be necessary.

Vincent Ramdhanie
Ok. So when used as part of a larger user interaction, the draggable div make sense (ex iGoogle).
Ryan Michela
Thats right. I would hate (ie be very surprised by) a site that suddenly allowed me to drag everything on the page. Imagine if I could rearrange SO's logo and questions? Makes no sense. We are using draggables and sortables in our app to allow users to easily decide which order they want certain items to be displayed on a website. Its much easier for the users than typing in a number to represent display order.
Vincent Ramdhanie
A: 

The use of draggable divs gives the user a sence of interactivity within your website. It gets them involved and allows the to view things on a page the way they wish.

GaryDevenay
+2  A: 

I would imagine that they serve an important purpose in any user interface in which the ability for the end user to visually reorder or sort the entities represented by the divs is important. In addition, I imagine they play an important role in implementing drag-and-drop interfaces in browsers.

Larry Lustig
A: 

Actually I never really found a use for draggable until I realized that you could connect them to Sortables with the connectToSortable param.

Marco