$. 확장({
includePath: '',
include: 함수(파일)
{
var files = typeof file == "string" ? [file] : file;
for (var i = 0; i < files.length; i )
{
var name = files[i].replace(/^s|s$/g, ""); .split('.');
var ext = att[att.length - 1].toLowerCase();
var isCSS == "css"
var tag = "link " : "script";
var attr = isCSS ? " type='text/css' rel='stylesheet' " : " 언어='javascript' type='text/javascript' ";
var link = (isCSS ? "href" : "src") "='" $.includePath 이름 "'"
if ($(tag "[" link "]").length == 0) document.write(" <" 태그 속성 링크 ">" 태그 ">");
}
}
});
$.include(['script/jquery.divbox.js','/css/pop_win.css']);
$(document).ready(function()
{
var IsFirstAlert = true;
var AlertQueue = [];
window.alert = showAlert;
var divalert = " ";
divalert = "
";
divalert = "
";
divalert = "
";
divalert = "
TITLE< ;/h3>
";
divalert = "
";
divalert = "
";
divalert = "
"
divalert = "
";
divalert = "
";
divalert = "
";
divalert = "
";
divalert = "
";
divalert = "
";
divalert = " ";
divalert = "
";
$("body").append(divalert);
function showAlert(info)
{
alertQueue.push(info);
if (IsFirstAlert)
{
IsFirstAlert = false;
열린 경고();
}
}
$("#alertClose").click(function()
{
$('#divAlert').CloseDiv()
if (alertQueue.length > 0)
{
setTimeout(OpenAlert, 150)
}
});
함수 OpenAlert()
{
$("#spaAlertMessage").html(alertQueue[0]);
alertQueue.splice(0, 1);
$("#divAlert").OpenDiv();
}
});