모바일쇼핑몰: 상품 상세보기 버튼 스타일 및 fancyalert 마크업 스타일

This commit is contained in:
whitedot
2013-10-23 11:35:48 +09:00
parent a0115221b9
commit f9cf3c3cd6
4 changed files with 19 additions and 10 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);
});