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