JS Message 网页消息提醒

JS message是一个非常小的(用gzip压缩之后才3kb)JavaScript library 用于轻松在网页上展示通知提醒。除了通知,它还支持创建带风格的对话框和确认对话框。不需要任何JS框架。每一种消息类型(除了通知提醒)都拥有回调事件用于实现可定制的交互功能。消息外观也通过CSS自定义。

支持大部分浏览器除了IE6。 
项目地址: http://dhtmlx.github.com/message/ 
下载地址: https://github.com/DHTMLX/message 

Custom notifications, alerts, confirmations

This library was extracted from the code of DHTMLX suite.
The library can be used under terms of MIT license (basically free).
Only 4kb gzipped, without external dependencies.

Examples

dhtmlx.confirm({
    type:"confirm", text: "Continue?", callback: function(result){ dhtmlx.message("Result: "+result); } }); //or dhtmlx.confirm("Continue?");
dhtmlx.alert({
    text: "Download is completed.", callback: function(){ dhtmlx.message("Alert clicked"); } }); //or dhtmlx.alert("Download is completed.");

See it in action


Skin  Default   Growl - dark   Growl - shiny   Solid   SkyBlue   Message  Alert   Confirm   Modal Box   

DHTMLX is a JavaScript library that provides essential functionality 

 

转载于:https://www.cnblogs.com/boonya/p/4175320.html

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值