jQuery UI Current

by TJ VanToll

HTML

<link href="http://code.jquery.com/ui/jquery-ui-git.css" rel="stylesheet" />
<script src="http://code.jquery.com/jquery-git.js"></script>
<script src="http://code.jquery.com/ui/jquery-ui-git.js"></script>

<ol id="sortable">
    <li><img src="http://placekitten.com/100/100"></li>
    <li><img src="http://placekitten.com/100/100"></li>
    <li><img src="http://placekitten.com/100/100"></li>
</ol>

CSS

li { float: left; }

JavaScript

$( "#sortable" ).sortable();