Hnotify.js

Show notification using bootstrap

View the Project on GitHub hemnathmouli/hnotify.js

What is hnotify.js ?

This is a common question whoever sees this repository. hnotify.js is a easy tool for developers, who works in bootstrap. This jQuery plugin uses bootstrap alert to show a notification for ajax success or for other messages. You can modify notification color in hnotify.css if wanted.

Required files

<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>

And also hnotify.js and hnotify.css

Show me an example

Notify Success Notify Warning Notify Danger Notify Info

Sample code

$.hnotify({
    text: "Hey there, this is what hnotify does.", //Text to show in the notification
    flag: "success", //type of notification e.g success or warning, etc
    interval: 3000 //Hide automatically after this interval 1 sec = 1000
});

Authors and Contributors

@hemnathmouli is the author for hnotify.js
Know more: In stackoverflow
OR
See on: My website