Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Just thought of an alternate solution that is a little more elegant: <a href="http://jsbin.com/udina" rel="nofollow noreferrer">http://jsbin.com/udina</a></p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt; &lt;link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/themes/base/jquery-ui.css" type="text/css" /&gt; &lt;script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.1/jquery-ui.min.js"&gt;&lt;/script&gt; &lt;style type="text/css" media="screen"&gt; body { background-color: #000; font: 16px Helvetica, Arial; color: #fff; } li { width: 100px; height: 100px; float: left; background: #F8F8F8; border: 1px solid #C0C0C0; list-style-position: inside; color: #C0C0C0; } div { text-align: center; color: #C0C0C0; font-size: 120%; } .placeholder { list-style-type:decimal; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;ol&gt; &lt;li&gt;&lt;div&gt;Test Content A&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content B&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content C&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content D&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content E&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content F&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content G&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content H&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content I&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content J&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content K&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content L&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content M&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content N&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content O&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content P&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content Q&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content R&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content S&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content T&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content U&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content V&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content W&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content X&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content Y&lt;/div&gt;&lt;/li&gt; &lt;li&gt;&lt;div&gt;Test Content Z&lt;/div&gt;&lt;/li&gt; &lt;/ol&gt; &lt;script&gt; $(function(){ $('ol').sortable({ helper: function(evt, el){ return el.clone().css('color', '#F8F8F8'); }, placeholder: 'placeholder' }); }); &lt;/script&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload