// 1. 기존 content 에 버튼 추가 /*(function(b){function a(){if("undefined"==typeof jQuery){throw new Error("HoldOn.js requires jQuery")}var c={};c.open=function(e){$("#holdon-overlay").remove();var h="sk-rect";var g="";var f="";if(e){if(e.hasOwnProperty("theme")){h=e.theme}if(e.hasOwnProperty("message")){f=e.message}}switch(h){case"custom":g='
'+e.content+"
";break;case"sk-dot":g='
';break;case"sk-rect":g='
';break;case"sk-cube":g='
';break;case"sk-bounce":g='
';break;case"sk-circle":g='
';break;case"sk-cube-grid":g='
';break;case"sk-folding-cube":g='
';break;case"sk-fading-circle":g='
';break;default:g='
';console.warn(h+" doesn't exist for HoldOn.js");break}var d='";$(d).appendTo("body").show();if(e){if(e.backgroundColor){$("#holdon-overlay").css("backgroundColor",e.backgroundColor)}if(e.backgroundColor){$("#holdon-message").css("color",e.textColor)}}};c.close=function(){$("#holdon-overlay").fadeOut(300,function(){$(this).remove()})};return c}if(typeof(HoldOn)==="undefined"){b.HoldOn=a()}})(window);*/ //2. content 안에 없지만 opacity 흐려지는 문제없음 -> 사용자관리에서 수정 버튼 클릭시 중단 버튼이 사라지지 않음. (modal fade in 배경에 붙어있기 때문에.) /*(function(b){function a(){if("undefined"==typeof jQuery){throw new Error("HoldOn.js requires jQuery")}var c={};c.open=function(e){$("#holdon-overlay").remove();$("#holdon-button").remove();var h="sk-rect";var g="";var f="";if(e){if(e.hasOwnProperty("theme")){h=e.theme}if(e.hasOwnProperty("message")){f=e.message}}switch(h){case"custom":g='
'+e.content+"
";break;case"sk-dot":g='
';break;case"sk-rect":g='
';break;case"sk-cube":g='
';break;case"sk-bounce":g='
';break;case"sk-circle":g='
';break;case"sk-cube-grid":g='
';break;case"sk-folding-cube":g='
';break;case"sk-fading-circle":g='
';break;default:g='
';console.warn(h+" doesn't exist for HoldOn.js");break}var d='
";$(d).appendTo("body").show();if(e){if(e.backgroundColor){$("#holdon-overlay").css("backgroundColor",e.backgroundColor)}if(e.backgroundColor){$("#holdon-message").css("color",e.textColor)}}};c.close=function(){$("#holdon-overlay").fadeOut(300,function(){$(this).remove()}); $("#holdon-button").fadeOut(300,function(){$(this).remove()}); };return c}if(typeof(HoldOn)==="undefined"){b.HoldOn=a()}})(window);*/ /* 3. 19.09.09 이현주 수정 * button은 overlay 위에 위치. * */ (function(b){function a(){ if("undefined"==typeof jQuery) {throw new Error("HoldOn.js requires jQuery")} var c={}; c.open=function(e){ $("#holdon-overlay").remove(); $("#holdon-button").remove(); var h="sk-rect"; var g=""; var f=""; if(e){ if(e.hasOwnProperty("theme")) {h=e.theme} if(e.hasOwnProperty("message")){f=e.message} } switch(h){ case"custom":g='
'+e.content+'
'; break; case"sk-dot":g='
'; break; case"sk-rect":g='
'; break; case"sk-cube":g='
'; break; case"sk-bounce":g='
'; break; case"sk-circle":g='
'; break; case"sk-cube-grid":g='
'; break; case"sk-folding-cube":g='
'; break; case"sk-fading-circle":g='
'; break; default:g='
';console.warn(h+" doesn't exist for HoldOn.js") ;break } var d ='
"; $(d).appendTo("body").show(); if(e){ //현재 페이지 modal의 z-index를 구하고 button - overlay 순으로 최상단으로 맞춘다. var zIndex = 1040 + (10 * $('.modal:visible').length); $(this).css('z-index', zIndex); $('#holdon-button').css('z-index', zIndex - 1); $('#holdon-overlay').css('z-index', zIndex - 2); if(e.backgroundColor){$("#holdon-overlay").not('.loading-btn-io').css("backgroundColor",e.backgroundColor)} if(e.backgroundColor){$("#holdon-message").css("color",e.textColor)} } }; c.close=function(){ $("#holdon-overlay").fadeOut(300,function(){$(this).remove()}); $("#holdon-button").fadeOut(300,function(){$(this).remove()}); }; return c; } if(typeof(HoldOn)==="undefined"){b.HoldOn=a()} } )(window); /*19.09.09*/ /*(function(b){function a(){if("undefined"==typeof jQuery){throw new Error("HoldOn.js requires jQuery")}var c={};c.open=function(e){$("#holdon-overlay").remove();var h="sk-rect";var g="";var f="";if(e){if(e.hasOwnProperty("theme")){h=e.theme}if(e.hasOwnProperty("message")){f=e.message}}switch(h){case"custom":g='
'+e.content+"
";break;case"sk-dot":g='
';break;case"sk-rect":g='
';break;case"sk-cube":g='
';break;case"sk-bounce":g='
';break;case"sk-circle":g='
';break;case"sk-cube-grid":g='
';break;case"sk-folding-cube":g='
';break;case"sk-fading-circle":g='
';break;default:g='
';console.warn(h+" doesn't exist for HoldOn.js");break}var d=' ";$(d).appendTo("body").show();if(e){if(e.backgroundColor){$("#holdon-overlay").css("backgroundColor",e.backgroundColor)}if(e.backgroundColor){$("#holdon-message").css("color",e.textColor)}}};c.close=function(){$("#holdon-overlay").fadeOut(300,function(){$(this).remove()}); $("#holdon-button").fadeOut(300,function(){$(this).remove()}); };return c}if(typeof(HoldOn)==="undefined"){b.HoldOn=a()}})(window);*/