aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual/draggable/draggable.handle.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/visual/draggable/draggable.handle.html')
-rw-r--r--tests/visual/draggable/draggable.handle.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/visual/draggable/draggable.handle.html b/tests/visual/draggable/draggable.handle.html
new file mode 100644
index 000000000..1ff9b39fc
--- /dev/null
+++ b/tests/visual/draggable/draggable.handle.html
@@ -0,0 +1,30 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>Simple Draggable with Handle</title>
+ <link rel="stylesheet" href="../all.css" type="text/css">
+ <link rel="stylesheet" href="../../../themes/base/ui.all.css" type="text/css">
+ <script type="text/javascript" src="../../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../../ui/ui.draggable.js"></script>
+ <script type="text/javascript">
+ $(function() {
+ $("#draggable").draggable({
+ handle: "span"
+ });
+ });
+ </script>
+</head>
+<body>
+
+<ul class="plugins">
+<li class="plugin">
+ Draggable
+ <div id="draggable">
+ <span>Handle</span>
+ </div>
+</li>
+</ul>
+
+</body>
+</html>