文章出處

<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" />&nbsp;驗證碼:<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", "&nbsp;", 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);
}

 


文章列表




Avast logo

Avast 防毒軟體已檢查此封電子郵件的病毒。
www.avast.com


文章標籤
全站熱搜
創作者介紹
創作者 大師兄 的頭像
大師兄

IT工程師數位筆記本

大師兄 發表在 痞客邦 留言(0) 人氣(6)