showInfoDialog 是基於 jQuery 的訊息彈出插件,會先遮罩指定區域,再顯示提示框。支援成功、錯誤、警告與通知四種主題。
操作成功:

錯誤:

警告:

通知:

var options = {
dialogType: "info",
theme: "info",
message: "數據加載完成!",
refresh: false
};
$("#test").showInfoDialog(options);
其中 dialogType 與 theme 可設定為 success、error、warning、info;refresh 可決定關閉後是否重新載入頁面。也可自訂 CSS 主題,符合專案視覺。