dojo.byId("status").innerHTML="Flickr failed to return images";
});
};
dojo.addOnLoad(init);
</script>
</head>
<body>
<h1>Sort Flickr images by tags</h1>
<p>This simple web application retrieves public images from Flickr that were tagged either as "cat", "dog", or "cow".
You can copy/move images in different containers according to their tags.</p>
<p>Following selection modes are supported by default:</p>
<ul>
<li>Simple click — selects a single element, all other elements will be unselected.</li>
<li>Ctrl+click — toggles a selection state of an element (use Meta key on Mac).</li>
<li>Shift+click — selects a range of element from the previous anchor to the current element.</li>
<li>Ctrl+Shift+click — adds a range of element from the previous anchor to the current element (use Meta key on Mac).</li>
</ul>
<p>Following drop modes are supported by default:</p>
<ul>
<li>Simple drop — moves elements to the valid target removing them from the source. It can be used to reorganize elements within a single source/target.</li>
<li>Ctrl+drop — copies elements to the valid target (use Meta key on Mac).</li>
</ul>
<p>Now scroll down and start dragging and dropping, rearrange images using DnD, copy and move them back!</p>
<p>Status: <spanid="status">retrieving a list of Flickr images...</span></p>