jQuery Plugin For Simple Themeable Alerts - Screamer

jQuery Plugin For Simple Themeable Alerts - Screamer
File Size: 13.7 KB
Views Total: 633
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Screamer is a really small jQuery plugin used to create themeable alert popups with custom titles, messages, buttons and styles.

How to use it:

1. Include the core & theme CSS files in the head section of the html page.

<link rel="stylesheet" href="screamer.jquery.min.css">
<link rel="stylesheet" href="screamer.theme.min.css">

2. Include jQuery and the jQuery Screamer plugin at the bottom of the page.

<script src="jquery.min.js"></script>
<script src="screamer.jquery.min.js"></script>

3. Create a default Screamer alert on the screen.

$().screamer({ 
  message: 'Default Alert' 
});

4. Customize the alert popup by overriding the following settings to your taste.

$().screamer({ 

  // alert message
  message: '',

  // alert title
  title: '',

  // button text
  button: 'Ok',

  // see more in screamer.theme.min.css
  theme: '',

  // click on the overlay to close the alert
  overlayClose: false 
  
});

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