Search
 
SCRIPT & CODE EXAMPLE
 

HTML

jquery demo

<!doctype html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <title>jQuery UI Draggable - Default functionality</title>
  <link rel="stylesheet" href="//code.jquery.com/ui/1.13.1/themes/base/jquery-ui.css">
  <link rel="stylesheet" href="/resources/demos/style.css">
  <style>
  #draggable { width: 150px; height: 150px; padding: 0.5em; }
  </style>
  <script src="https://code.jquery.com/jquery-3.6.0.js"></script>
  <script src="https://code.jquery.com/ui/1.13.1/jquery-ui.js"></script>
  <script>
  $( function() {
    $( "#draggable" ).draggable();
  } );
  </script>
</head>
<body>
 
<div id="draggable" class="ui-widget-content">
  <p>Drag me around</p>
</div>
 
 
</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: html umlaute 
Html :: best place to include script in html layout 
Html :: bootstrap radio button 
Html :: git pull one file 
Html :: html select default value disabled 
Html :: how to get data from html page using javascript 
Html :: plantuml font size 
Html :: how to add links in html 
Html :: html5 audio tag style 
Html :: bootstrap starter template 
Html :: click on button fire to another button 
Html :: import google maps libraries html 
Html :: getmdl 
Html :: angular 2 input file change value 
Html :: bootstrap 4 form input group 
Html :: input is a void element tag and must neither have `children` not use `dangerouslySetInnerHTML`. 
Html :: html to pdf angular 
Html :: bootstrap form textarea 
Html :: how to use different font size in same line in html 
Html :: phone input html 
Html :: how to add .java files to html 
Html :: img svg not loading 
Html :: blink html 
Html :: html css block button 
Html :: function html js 
Html :: how to customize html audio tag 
Html :: get id value of html dropdown in jquery 
Html :: the use of span tag 
Html :: label input html 
Html :: anchor html 
ADD CONTENT
Topic
Content
Source link
Name
8+5 =