/usr/share/doc/libjs-mochikit/examples/dnd_sortable/index.html is in libjs-mochikit 1.4.2-4fakesync1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Drag and Drop Sortable Tables with MochiKit</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="dnd_sortable.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../lib/MochiKit/MochiKit.js"></script>
<script type="text/javascript" src="../../lib/MochiKit/Position.js"></script>
<script type="text/javascript" src="../../lib/MochiKit/Visual.js"></script>
<script type="text/javascript" src="../../lib/MochiKit/DragAndDrop.js"></script>
<script type="text/javascript" src="../../lib/MochiKit/Sortable.js"></script>
</head>
<body>
<h1>
Drag and Drop Sortable Tables with MochiKit
</h1>
<p>
View Source: [
<a href="index.html" class="view-source">index.html</a>
]
</p>
<ul id="dnd_sortable">
<li>mochibot.com</li>
<li>pythonmac.org</li>
<li>undefined.org</li>
<li>python.org</li>
</ul>
<p>
<a onclick="validate()">Validate order choice</a>
</p>
<script type="text/javascript">
MochiKit.Sortable.Sortable.create('dnd_sortable');
validate = function () {
var children = MochiKit.DOM.getElement("dnd_sortable").childNodes;
var res = '';
for (var i = 0; i < children.length; i++) {
res += children[i].firstChild.nodeValue + ' ';
}
alert(res);
}
</script>
<p>
<ul>
<li><a href="sortable_test.html">Test 1</a></li>
<li><a href="sortable2_test.html">Test 2</a></li>
<li><a href="sortable3_test.html">Test 3</a></li>
<li><a href="sortable4_test.html">Test 4</a></li>
<li><a href="sortable5_test.html">Test 5</a></li>
<li><a href="sortable_tree_test.html">Test tree</a></li>
</ul>
</p>
</body>
</html>
|