弹框的拖动
This commit is contained in:
parent
89599d8679
commit
8b5896ae1c
|
@ -3,4 +3,5 @@ showModal('ajax-modal', '1040px');
|
|||
$('#ajax-modal').siblings().remove();
|
||||
var mTop = ($(window).height()-646)/2;
|
||||
var mLeft = ($(window).width()-1054)/2;
|
||||
$('#ajax-modal').parent().css("border","3px solid #269ac9").css("top","mTop").css("left","mLeft").css("position","fixed");
|
||||
$('#ajax-modal').parent().css("border","3px solid #269ac9").css("top","mTop").css("left","mLeft").css("position","fixed");
|
||||
$('#ajax-modal').css("margin","15px");
|
Loading…
Reference in New Issue