Merge branch 'master' of github.com:gnuboard/yc5

This commit is contained in:
chicpro
2013-10-23 11:51:04 +09:00
6 changed files with 30 additions and 20 deletions

View File

@ -11,17 +11,17 @@ function fancyalert(msg)
}
box = "<div id=\"fancyalert\" style=\"top:"+scroll_top+"px;width:"+w+"px;height:"+h+"px;\">";
box += "<span>"+msg;
box += "<div id=\"fancyalert_inner\"><span>"+msg;
box += "<br>";
box += "<button type=\"button\" id=\"fancyalert_close\">확인</button>";
box += "</span>";
box += "</span></div>";
box += "</div>";
$("body").append(box);
}
$(function() {
$("#fancyalert_close").live("click", function() {
$("#fancyalert_close, #fancyalert_inner").live("click", function() {
$("#fancyalert").fadeOut().remove();
$("html, body").off("touchmove", blockScroll);
});