效果:
代码:
// Modal拖动
$(document).on("show.bs.modal", ".modal", function () {
$('.modal-dialog').draggable();
$(this).css("overflow", "hidden");
// 不拖动透明背景
});
效果:
代码:
// Modal拖动
$(document).on("show.bs.modal", ".modal", function () {
$('.modal-dialog').draggable();
$(this).css("overflow", "hidden");
// 不拖动透明背景
});