top
Loading...
jQuery Growl 插件(消息提醒)

jQuery Growl 插件(消息提醒)

jQuery Growl 插件(消息提醒) 允許您很容易地在一個覆蓋層顯示反饋消息。消息會在一段時間後自動消失,不需要單擊"確定"按鈕等。用戶也可以通過移動鼠標或點擊關閉按鈕加快隱藏信息。

該插件目前版本是 1.0.0。

jQuery Message 插件演示。

$(function() { $.growl({ title: "消息標題", message: "消息內容!" }); $('.error').click(function(event) { event.preventDefault(); event.stopPropagation(); return $.growl.error({ title: "錯誤標題", message: "錯誤消息內容!" }); }); $('.notice').click(function(event) { event.preventDefault(); event.stopPropagation(); return $.growl.notice({ title: "提醒標題", message: "提醒消息內容!" }); }); return $('.warning').click(function(event) { event.preventDefault(); event.stopPropagation(); return $.growl.warning({ title: "警告標題", message: "警告消息內容!" }); }); });

嘗試一下 »
北斗有巢氏 有巢氏北斗