File: sortable_artifacts_test.html

package info (click to toggle)
scriptaculous 1.8.1-5
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 888 kB
  • ctags: 158
  • sloc: makefile: 22
file content (32 lines) | stat: -rw-r--r-- 948 bytes parent folder | download
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <title>You ought to love these guys</title>
  <script type="text/javascript" src="../../lib/prototype.js"></script>
  <script type="text/javascript" src="../../src/scriptaculous.js"></script>
</head>
<body>

<ol id="guys">
  <li id="guy_1">Arnaud Berthomier</li>
  <li id="guy_2">Élodie Jaubert</li>
  <li id="guy_3">Justin Palmer</li>
  <li id="guy_4">Rick Olson</li>
  <li id="guy_5">Thomas Fuchs</li>
</ol>

<p id="debug"></p>

In Safari, after a few drags, there shouldn't be any graphical glitches on the OL numbering.

<script type="text/javascript" charset="utf-8">
  Event.observe(window, 'load', function() {
    Sortable.create('guys');
  });
</script>

</body>
</html>