JS Message 網頁訊息提醒

來源:互聯網
上載者:User

標籤:

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.

DownloadLatest version from GitHubExamples
dhtmlx.confirm({    type:"confirm", text: "Continue?", callback: function(result){ dhtmlx.message("Result: "+result); }});//ordhtmlx.confirm("Continue?");
dhtmlx.alert({    text: "Download is completed.", callback: function(){ dhtmlx.message("Alert clicked"); }});//ordhtmlx.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 

 

JS Message 網頁訊息提醒

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.