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.
<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
See it here http://hemnathmouli.github.io/hnotify.js/
$.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
});
@hemnathmouli is the author for hnotify.js
Know more: In stackoverflow
OR
See on: My website