Smoke.js is a JavaScript alternative to a browser default warning system, and if you want a standardized JavaScript warning window across browsers and platforms, Smoke.js is what you want.
Smoke.js is a lightweight and flexible JavaScript plugin that is used to replace the original alert. It is completely composed of HTML and CSS3, so you can personalize it by adding your own style.
- Requirements: CSS3 Support
- Compatibility: Most browsers, including IE6 (no CSS3 visualization)
- License:mit
Characteristics:
- Signal: Message will disappear after a few seconds
- Alert: Regular Alert window
- Comfirm: Alert window with Yes and no buttons
- Prompt: Alert window with input box
- Supports callback functions
- Lightweight and easy to personalize
- Works on all browsers including mobile platforms (except IE6 without animations)
Example:
Alert
Smoke.alert (' This is a normal alert ... nothing fancy ', {}, function () { //Oh "now});
Project home:http://www.open-open.com/lib/view/home/1332568779906
Smoke.js is a realistic smoke-effect JS plugin based on HTML5 canvas. With this JS plugin, you can easily create a variety of smoke effects on the page.