Author: | lalaman |
---|---|
Views Total: | 789 views |
Official Page: | Go to website |
Last Update: | February 12, 2016 |
License: | MIT |
Preview:

Description:
Lala Alerts is a simple, lightweight vanilla javascript library that makes it easy to send customizable, CSS3 animated alert messages to end users. Also can be implemented as a jQuery plugin.
Basic usage:
Place both lala-alert.css and lala-alert.js into your html page.
<link rel="stylesheet" href="css/lala-alert.css"> <script src="js/lala-alert.js"></script>
Create the Lala alert section.
<div id="lala-alert-container"> <div id="lala-alert-wrapper"></div> </div>
Create a alert popup on the screen.
- Message: alert message to send
- Status: success, info, warning, danger
- Timeout: auto dismiss after x seconds
createAlert(message, status, timeout)