jGrowl

jGrowl is an unobtrusive notification system for web applications. Want to see it in action? Find out how:...

Github stars Tracking Chart

jGrowl

jGrowl is a jQuery plugin that raises unobtrusive messages within the browser, similar to the way that OS X's Growl Framework works. The idea is simple, deliver notifications to the end user in a noticeable way that doesn't obstruct the work flow and yet keeps the user informed.

Installation

jGrowl can be added to your project using package managers like bower and npm or directly into your html using cdnjs, as well as the good old fashioned copy-paste into your project directory.

Use cdnjs:

<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/jquery-jgrowl/1.4.1/jquery.jgrowl.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-jgrowl/1.4.1/jquery.jgrowl.min.js"></script>

Install with bower

bower install jgrowl

Install with npm

npm install jgrowl
// Sample 1
$.jGrowl("Hello world!");
// Sample 2
$.jGrowl("Stick this!", { sticky: true });
// Sample 3
$.jGrowl("A message with a header", { header: 'Important' });
// Sample 4
$.jGrowl("A message that will live a little longer.", { life: 10000 });
// Sample 5
$.jGrowl("A message with a beforeOpen callback and a different opening animation.", {
	beforeClose: function(e,m) {
		alert('About to close this notification!');
	},
	animateOpen: {
		height: 'show'
	}
});

Main metrics

Overview
Name With Ownerstanlemon/jGrowl
Primary LanguageJavaScript
Program languageJavaScript (Language Count: 3)
Platform
License:MIT License
所有者活动
Created At2011-12-16 21:12:53
Pushed At2025-01-05 17:47:18
Last Commit At2025-01-05 12:47:17
Release Count22
Last Release Name1.4.10 (Posted on 2024-11-07 20:26:34)
First Release Name1.2.0 (Posted on 2013-01-17 23:06:58)
用户参与
Stargazers Count573
Watchers Count35
Fork Count166
Commits Count154
Has Issues Enabled
Issues Count48
Issue Open Count1
Pull Requests Count34
Pull Requests Open Count0
Pull Requests Close Count15
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private