Debian Codegraph @

demos/draggable/default.html

raw
1 <!doctype html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>jQuery UI Draggable - Default functionality</title>
7 <link rel="stylesheet" href="../../themes/base/all.css">
8 <link rel="stylesheet" href="../demos.css">
9 <style>
10 #draggable { width: 150px; height: 150px; padding: 0.5em; }
11 </style>
12 <script src="../../external/requirejs/require.js"></script>
13 <script src="../bootstrap.js">
14 $( "#draggable" ).draggable();
15 </script>
16 </head>
17 <body>
18
19 <div id="draggable" class="ui-widget-content">
20 <p>Drag me around</p>
21 </div>
22
23 <div class="demo-description">
24 <p>Enable draggable functionality on any DOM element. Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.</p>
25 </div>
26 </body>
27 </html>