|> Home > Technology > Sample scripts > Drag and drop|
Drag and drop widget. A client needed a widget to allow users to place and sort list items (text and/or graphics) . Several approaches were explored:
- The first test started from Snook's drag and drop example using the Mootools library. The result was this (in all the examples, view source from the browser to see the script).
- The second test used the tool-man library's example. The result was this, which would have been usable as a simple list-sorter except for not working with Firefox as well as wanted.
- The final test used the script.aculo.us add-on, based on the prototype library. The starting point was the EverAge example. This is our final result, which is what was wanted and works on IE, Firefox and Opera.