Search
 
SCRIPT & CODE EXAMPLE
 

HTML

how to make a draggable menu html/js jquery

<!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 :: index html example 
Html :: allow full screen embed 
Html :: bootstrap 5 tabs 
Html :: mysql dependency 
Html :: bulma css buttons 
Html :: nuxt title page 
Html :: how to delete rect in canvas html 
Html :: input number html without e 
Html :: how to insert a dollar sign in html 
Html :: how to change the height of an image in html 
Html :: html img tag with alt 
Html :: click on a button and start downloading data html 
Html :: bootstrap 5 form input group 
Html :: how to make a enter in html 
Html :: html umlaute 
Html :: ancres html 
Html :: how to use html shortcuts 
Html :: play audio source on html 
Html :: tailwind css header 
Html :: html <br 
Html :: what does html stand for 
Html :: address tag in html 
Html :: html to pdf angular 
Html :: <i class="fa fa-tag"</i fontawesome 
Html :: html page to screenshot 
Html :: move cursor to end of line javascript 
Html :: ul attributes in html 
Html :: bulma fullheight 
Html :: navbar with logo css 
Html :: how to make buttons side by side html 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =