포토리뷰 작업 중
This commit is contained in:
@@ -1073,11 +1073,14 @@ function setImageFromFile(input, expression) {
|
||||
}
|
||||
|
||||
//레이어 팝업 오픈 스크립트
|
||||
function open_layer_popup(popid) {
|
||||
function open_layer_popup(popid, addClass) {
|
||||
var popid = popid;
|
||||
$("#" + popid).css("display", "flex");
|
||||
$("body").css("overflow", "hidden");
|
||||
$("body").css("touch-action", "none");
|
||||
if (addClass) {
|
||||
$("#" + popid).addClass(addClass);
|
||||
}
|
||||
$("#" + popid)
|
||||
.stop()
|
||||
.animate({ opacity: "1" }, { queue: true, duration: 450, easing: "easeInOutExpo" });
|
||||
@@ -1087,7 +1090,7 @@ function open_layer_popup(popid) {
|
||||
}
|
||||
|
||||
//레이어 팝업 클로즈 스크립트
|
||||
function close_layer_popup(popid) {
|
||||
function close_layer_popup(popid, removeClass) {
|
||||
var popid = popid;
|
||||
$("#" + popid)
|
||||
.stop()
|
||||
@@ -1103,6 +1106,9 @@ function close_layer_popup(popid) {
|
||||
},
|
||||
}
|
||||
);
|
||||
if (removeClass) {
|
||||
$("#" + popid).removeClass(removeClass);
|
||||
}
|
||||
$("body").css("overflow", "auto");
|
||||
$("body").css("touch-action", "auto");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user