桌面通知_html5_Notify
2018-01-29 16:27
495 查看
开启浏览器桌面通知
如下图所示
代码
<body> <h1>demo</h1> <button>点击</button> </body> <script type="text/javascript"> /* ------------------------------------------ Shows the notification (if possible) message = { icon: title: message: onshow: onclick: onerror: onclose: } ------------------------------------------ */ $(function(){ $("button").click(function(){ Notify.show({ icon:"images/icon.png", title:'hello world!', message:"Talk is cheap. Show me the code!" }); }); }) </script>
预览地址
有积分的下载这里吧
demo下载
相关文章推荐
- HTML5桌面提醒通知(Desktop Notification )API,以及实例演示
- HTML5 Notifications桌面通知
- HTML5的桌面通知Notification api
- HTML5 桌面通知
- HTML5桌面通知:notification api
- html5新版桌面通知
- html5桌面通知(Web Notifications)实例解析
- html5桌面通知 提示
- HTML5桌面通知:notification api
- HTML5桌面通知:notification api
- 突袭HTML5之Javascript API扩展5―其他扩展(应用缓存/服务端消息/桌面通知)
- html5 web notification 桌面通知
- [html5] (Notification) 桌面通知
- HTML5桌面通知:notification api
- HTML5 桌面通知:Notification API
- html5桌面通知
- HTML5桌面通知:notification api
- Ubuntu 利用 crontab 和 notify-send 定时发送桌面通知,提示该休息啦
- 桌面消息通知:HTML5 Notification
- 如何从终端发送桌面通知给用户(notify-send)