bootstrap modal 点击头部移动
发布时间:2020-12-17 20:43:49 所属栏目:安全 来源:网络整理
导读:1 $(".modal").each( function (){ 2 $( this ).draggable({ 3 handle: ".modal-header" // 只能点击头部拖动 4 }); 5 $( this ).css("overflow","hidden"); // 防止出现滚动条,出现的话,你会把滚动条一起拖着走的 6 });
1 $(".modal").each(function(){ 2 $(this).draggable({ 3 handle: ".modal-header" // 只能点击头部拖动 4 }); 5 $(this).css("overflow","hidden"); // 防止出现滚动条,出现的话,你会把滚动条一起拖着走的 6 }); (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |