showing results for - "how to create html forms and attach javascript behaviors all types"
Elijah
08 Sep 2019
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="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
8  <link rel="stylesheet" href="/resources/demos/style.css">
9  <style>
10  #draggable { width: 350px; height: 150px; padding: 0.5em; }
11  </style>
12  <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
13  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
14  <script>
15  $( function() {
16    $( "#draggable" ).draggable();
17  } );
18  </script>
19</head>
20<body>
21 
22<div id="draggable" class="ui-widget-content">
23  <p>Drag me around</p>
24</div>
25 
26 
27</body>
28</html>
29
Virgile
10 Feb 2018
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="//code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
8  <link rel="stylesheet" href="/resources/demos/style.css">
9  <style>
10  #draggable { width: 150px; height: 150px; padding: 0.5em; }
11  #draggable1 { width: 50px; height: 50px; padding: 0.5em; }
12  </style>
13  <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
14  <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
15  <script>
16  $( function() {
17    $( "#draggable" ).draggable();
18  } );
19  </script>
20 <script>
21  $( function() {
22    $( "#draggable1" ).draggable();
23  } );
24  </script>
25</head>
26<body>
27 
28<div id="draggable" class="ui-widget-content">
29  <p>Drag me around</p>
30</div>
31 
32 
33</body>
34</html>
35