diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-12-30 08:48:19 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-12-30 08:48:19 +0000 |
commit | fae9c64bd96ba8e87fe413ef450ed9f3a61f454d (patch) | |
tree | 0abc69beae6edbfb3c3531ee2e14a45646a253a0 /demos/draggable/default.html | |
parent | 84e9175a68b0e342a270c448bdfedb22e5d0ac43 (diff) | |
download | jquery-ui-fae9c64bd96ba8e87fe413ef450ed9f3a61f454d.tar.gz jquery-ui-fae9c64bd96ba8e87fe413ef450ed9f3a61f454d.zip |
demos: first bunch of draggable demos (default, axis, grid, containment)
Diffstat (limited to 'demos/draggable/default.html')
-rw-r--r-- | demos/draggable/default.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/demos/draggable/default.html b/demos/draggable/default.html new file mode 100644 index 000000000..a8c124d20 --- /dev/null +++ b/demos/draggable/default.html @@ -0,0 +1,26 @@ +<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Draggable - Default Demo</title>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.2.6.js"></script>
+ <script type="text/javascript" src="../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../ui/ui.draggable.js"></script>
+ <style type="text/css">
+ #draggable { width: 150px; height: 150px; padding: 0.5em; }
+ </style>
+ <script type="text/javascript">
+ $(function() {
+ $("#draggable").draggable();
+ });
+ </script>
+</head>
+<body>
+
+<div id="draggable" class="ui-widget-content">
+ <p>Drag me around</p>
+</div>
+
+</body>
+</html>
|