WEB/JQuery
팝업창 마우스로 드래그하기
silverline79
2021. 8. 20. 17:38
js
$(function()
$( "#draggable" ).draggable();
});
css
#draggable { width: 150px; height: 150px; padding: 0.5em; }
html
<div id="draggable" class="ui-widget-content">
<p>마우스로 움직이는 팝업레이어</p>
</div>