initial import
[roojs1] / examples / tree / reorder.html
1 <html>\r
2 <head>\r
3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">\r
4 <title>Reorder TreePanel</title>\r
5  <link rel="stylesheet" type="text/css" href="../../cssX/roojs-all.css"/>
6     <link rel="stylesheet" type="text/css" href="../../cssX/xtheme-slate.css"/>
7
8      <script type="text/javascript" src="../../roojs-all.js"></script>   
9   
10  \r
11 <script type="text/javascript" src="reorder.js"></script>\r
12 \r
13 <!-- Common Styles for the examples -->\r
14 <link rel="stylesheet" type="text/css" href="../examples.css" />\r
15 </head>\r
16 <body>\r
17 <script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->\r
18 <h1>Drag and Drop ordering in a TreePanel</h1>\r
19 <p>This example shows basic drag and drop node moving in a tree. In this implementation there are no restrictions and \r
20 anything can be dropped anywhere except appending to nodes marked "leaf" (the files).</p>\r
21 <p>Drag along the edge of the tree to trigger auto scrolling while performing a drag and drop.</p>\r
22 <p>In order to demonstrate drag and drop insertion points, sorting was <b>not</b> enabled.</p>\r
23 <p>The data for this tree is asynchronously loaded with a JSON TreeLoader.</p>\r
24 <p>The js is not minified so it is readable. See <a href="reorder.js">reorder.js</a>.</p>\r
25 \r
26 <div id="tree-div" style="overflow:auto; height:300px;width:250px;border:1px solid #c3daf9;"></div>\r
27 \r
28 </body>\r
29 </html>\r