0

Does anyone know of an AJAX script with this kind of drag 'n' drop functionality:

http://bit.ly/atE420

The software in the video is called CODA (a Mac application for developers). I was wondering if something like this has been done in AJAX.

Thanks

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by digital-ether
0

Does anyone know of an AJAX script with this kind of drag 'n' drop functionality:

http://bit.ly/atE420

The software in the video is called CODA (a Mac application for developers). I was wondering if something like this has been done in AJAX.

Thanks

You can build such functionality with popular JavaScript libraries such as jQuery or MooTools.

jQuery UI has a draggable method.
http://jqueryui.com/demos/draggable/

A simple example:

$( ".css-selector" ).draggable({
   stop: function(event, ui) { /* your code */ }
});

That would make the element(s) selected by the CSS selector ".css-selector" draggable and listen to the stop event.

MooTools as a Drag extension. You can choose to include it with your custom build of mootools library:
http://mootools.net/more

An example of using it: http://www.consideropen.com/blog/2008/08/30-days-of-mootools-12-tutorials-day-12-drag-and-drop-using-dragmove/

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.