Simple Responsive jQuery Alerts For Any Screens - Simplert

Simple Responsive jQuery Alerts For Any Screens - Simplert
File Size: 4.9 KB
Views Total: 489
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Simplert is a dead simple jQuery plugin for creating responsive, adaptive alert/notification popups that work on any size windows and screens. Currently comes in three types: success, alert and alert.

How to use it:

1. Load the jQuery Simplert's main CSS to style the alert popups.

<link rel="stylesheet" href="simplert/simplert.css">

2. Load jQuery library and the jQuery Simplert's JavaScript at the end of the document so the page loads faster.

<script src="//code.jquery.com/jquery.min.js"></script>
<script src="simplert/simplert.js"></script>

3. Create the alert popups with custom messages as follows:

// error
new Simplert('error', 'This is an error alert.').show()

// success
new Simplert('success', 'This is a success alert.').show()

// alert
new Simplert('alert', 'This is the default alert.'

This awesome jQuery plugin is developed by thestevenmick. For more Advanced Usages, please check the demo page or visit the official website.