2 |
aperonnet |
1 |
<html>
|
|
|
2 |
<head>
|
|
|
3 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
|
4 |
<title>Organizing Images into Albums</title>
|
|
|
5 |
<link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
|
|
|
6 |
|
|
|
7 |
<!-- GC -->
|
|
|
8 |
<!-- LIBS -->
|
|
|
9 |
<script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
|
|
|
10 |
<!-- ENDLIBS -->
|
|
|
11 |
|
|
|
12 |
<script type="text/javascript" src="../../ext-all.js"></script>
|
|
|
13 |
|
|
|
14 |
<script type="text/javascript" src="../view/data-view-plugins.js"></script>
|
|
|
15 |
<script type="text/javascript" src="organizer.js"></script>
|
|
|
16 |
|
|
|
17 |
<!-- Common Styles for the examples -->
|
|
|
18 |
<link rel="stylesheet" type="text/css" href="../examples.css" />
|
|
|
19 |
|
|
|
20 |
<link rel="stylesheet" type="text/css" href="organizer.css" />
|
|
|
21 |
</head>
|
|
|
22 |
<body>
|
|
|
23 |
<script type="text/javascript" src="../examples.js"></script><!-- EXAMPLES -->
|
|
|
24 |
<h1>Organizing Images into Albums</h1>
|
|
|
25 |
<p>This example shows demonstrates how you can drop anything into the tree.</p>
|
|
|
26 |
<p>This example also shows how a customized DragZone can be
|
|
|
27 |
applied to a JsonView to get automatic lightweight drag and drop of asynchronously loaded data.</p>
|
|
|
28 |
<p>The js is not minified so it is readable. See <a href="organizer.js">organizer.js</a>. The multi image drag drop added a little complexity to the code, but hopefully it is still easy to follow.
|
|
|
29 |
<p>For simplicity, there is no validation on the names you enter in the tree node editor and you can drag the same picture
|
|
|
30 |
into an album as many times as you want.</p>
|
|
|
31 |
<p>Hold shift/control to select multiple images in the main images view. You can drag those images into the tree.</b>
|
|
|
32 |
|
|
|
33 |
<div id="layout"></div>
|
|
|
34 |
<br /><br /><br /><br /><br />
|
|
|
35 |
</body>
|
|
|
36 |
</html>
|