Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #9980: sort_demo.html

File sort_demo.html, 0.6 kB (added by phlipper, 9 months ago)
Line 
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2   "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html>
4 <head>
5   <title>Sortable Test</title>
6   <script type="text/javascript" src="prototype.js"></script>
7   <script type="text/javascript" src="effects.js"></script>
8   <script type="text/javascript" src="dragdrop.js"></script>
9 </head>
10 <body>
11 <ul id="sort_me">
12   <li>One</li>
13   <li>Two</li>
14   <li>Three</li>
15   <li>Four</li>
16   <li>Five</li>
17 </ul>
18
19 <script type="text/javascript" charset="utf-8">
20 // <![CDATA[
21 Sortable.create('sort_me', {
22   constraint:false,
23   dropOnEmpty:true,
24   overlap:'vertical'
25 });
26 // ]]>
27 </script>
28 </body>
29 </html>