Skip to content

hemnathmouli/hnotify.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

See it here http://hemnathmouli.github.io/hnotify.js/

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

Releases

No releases published

Packages

No packages published