Notify is…

Show Me

Usage

Include css and js files to your html, don't forget to include jquery and bootsrap first.

<link href="css/notify.css" rel="stylesheet">
<script src="js/notify.js"><script>

Quick Usage

Example:
$.notify('This message is for you', 'error');

Syntax

$.notify(message, status);
message is string, your message. Required.
status is string, either 'default', 'info', 'warning', 'error' or 'success'.

$.notify(message, option);
message is string, your message. Required.
option is object, described below.

$.notify(option);
option is object. described below.

Options

Name Type Default Description
message string '' Your message
status string('default', 'info', 'error', 'warning', 'success') default Alert status, affect styles
timeout integer 5000 Seconds until alert fading out
pos string('top-center','top-right', 'bottom-right', 'bottom-center', 'bottom-left') top-center alert position
zIndex integer 10400 z-index style for alert container
onClose function none Function to call on alert close