文章出處
文章列表
<div id='dialog' style="display:none;"> <div style="text-align:center;"> <h3 style="color: red; padding: 8px; margin-top: -12px;">請確認是否重置假日信息</h3> <input style="margin-top:5px;width:80px;" id="yzm" /> 驗證碼:<span id="jsYzm"></span> <br /><br /> <button id="btnEnter" style="cursor:pointer" class="btn btn-default">確定</button> <button id="btnCancel" style="cursor:pointer" class="btn btn-default">取消</button> </div> </div>
js
jqxWindow("#dialog", " ", 360, "auto");
function jqxWindow(selector, title, width, height, icon) { (selector).show(); (selector).removeClass("hide"); if ((selector).find(".jqx-window-content").size() > 0) { (selector).jqxWindow("open"); } else { (selector).jqxWindow({ width: width, height: height, isModal: true, modalOpacity: 0.3, resizable: false, maxWidth: 1300 }); } if (icon != null) { title = "<i class=\"" + icon + "\" style=\"color: #F2B863;font-size: 20px; margin-right: 8px; \"></i>" + title; } (selector).jqxWindow('setTitle', title); (selector).on('close', function (event) { jqxValidateRemove(); }); (selector).on('moving', function (event) { jqxValidateRemove(); }); .position.center(selector); }
文章列表
文章標籤
全站熱搜
