D&Dでリストの並べ替え

List 1
  • list 1, item 1
  • list 1, item 2
  • list 1, item 3
リスト 2
  • リスト 2, アイテム 1
  • リスト 2, アイテム 2
  • リスト 2, アイテム 3
並び替え結果
ソースのダウンロード → Yahoo! User Interface Libraryを使用したリストの並べ替え
Yahoo! User Interface Library - YUI
Yahoo!® User Interface Library (YUI)とは、その名の通りYahoo!が提供しているDHTMLやAJAXを使ってアプリケーションを作るためのライブラリーです。このライブラリーは、BSDライセンスのもと誰でも無料で利用することが可能です。

The Yahoo! User Interface Library (YUI)
The YUI Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML and AJAX. YUI is available under a BSD license and is free for all uses. The YUI project includes the YUI Library and two build-time tools: YUI Compressor (minification) and YUI Doc (documentation engine for JavaScript code).

http://developer.yahoo.com/yui/ でソースのダウンロードが可能です。300種類以上のサンプルがあります。