Notify is…
Show Me
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>
$.notify('This message is for you', 'error');
$.notify(message, status);
$.notify(message, option);
$.notify(option);
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 |