From b432fa4a90a235eb2261089ee9101c5617d43613 Mon Sep 17 00:00:00 2001 From: chicpro Date: Tue, 22 Oct 2013 09:30:13 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=8C=EB=A6=BC=EC=8A=A4=ED=83=80=EC=9D=BC?= =?UTF-8?q?=20=EB=B0=8F=20=EC=95=8C=EB=A6=BC=EC=8B=9C=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A1=A4=20=EA=B8=88=EC=A7=80=20=EC=BD=94=EB=93=9C=20=EC=B6=94?= =?UTF-8?q?=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/jquery.fancyalert.js | 16 ++++++++++------ mobile/skin/shop/basic/style.css | 4 ++-- 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/js/jquery.fancyalert.js b/js/jquery.fancyalert.js index c7cebb72c..bac3f721f 100644 --- a/js/jquery.fancyalert.js +++ b/js/jquery.fancyalert.js @@ -11,21 +11,25 @@ function fancyalert(msg) } box = "
"; - box += ""; - box + ""; - box += ""; - box += ""; - box += "
"+msg; + box += ""+msg; box += "
"; box += ""; - box += "
"; + box += ""; box += "
"; $("body").append(box); + + $("html, body").on("touchmove", blockScroll); +} + +function blockScroll(event) +{ + event.preventDefault(); } $(function() { $("#fancyalert_close").live("click", function() { $("#fancyalert").fadeOut().remove(); + $("html, body").off("touchmove", blockScroll); }); }); \ No newline at end of file diff --git a/mobile/skin/shop/basic/style.css b/mobile/skin/shop/basic/style.css index b7fcc31ba..aad6dc1a6 100644 --- a/mobile/skin/shop/basic/style.css +++ b/mobile/skin/shop/basic/style.css @@ -84,5 +84,5 @@ #loading_message img {position:relative;opacity:1.0} /* 알림 box */ -#fancyalert {position:absolute;top:0;left:0;z-index:10000;background-color:#000;opacity: 0.5} -#fancyalert td { color:#fff;text-align: center;opacity:1.0} \ No newline at end of file +#fancyalert {display:table;position:absolute;top:0;left:0;z-index:10000;background-color:#000;opacity: 0.5;text-align:center} +#fancyalert span {display:table-cell;vertical-align:middle;color:#fff;opacity:1.0} \ No newline at end of file