Draggable: Change element ids in demo

This commit is contained in:
Scott González 2015-11-09 09:51:21 -05:00
parent 7cc88bfe32
commit 0cc197a421

View File

@ -20,7 +20,7 @@
$( "#draggable2" ).draggable({ axis: "x" }); $( "#draggable2" ).draggable({ axis: "x" });
$( "#draggable3" ).draggable({ containment: "#containment-wrapper", scroll: false }); $( "#draggable3" ).draggable({ containment: "#containment-wrapper", scroll: false });
$( "#draggable5" ).draggable({ containment: "parent" }); $( "#draggable4" ).draggable({ containment: "parent" });
</script> </script>
</head> </head>
<body> <body>
@ -42,7 +42,7 @@
</div> </div>
<div class="draggable ui-widget-content"> <div class="draggable ui-widget-content">
<p id="draggable5" class="ui-widget-header">I'm contained within my parent</p> <p id="draggable4" class="ui-widget-header">I'm contained within my parent</p>
</div> </div>
</div> </div>