提交 | 用户 | 时间
|
58d006
|
1 |
# Gritter for jQuery |
A |
2 |
|
|
3 |
A small growl-like notification plugin for jQuery |
|
4 |
- http://boedesign.com/blog/2009/07/11/growl-for-jquery-gritter/ |
|
5 |
|
|
6 |
## Change Log |
|
7 |
|
|
8 |
### Changes in 1.7.4 (February 24, 2012) |
|
9 |
|
|
10 |
* Fixing bug where click event was being bound multiple times on hover. The result was the beforeClose callback being called multiple times. Thanks for commit aossowski! |
|
11 |
|
|
12 |
### Changes in 1.7.3 (December 8, 2011) |
|
13 |
|
|
14 |
* Added $.gritter.options.class_name option |
|
15 |
* Added 'gritter-light' class_name option to use light messages instead of dark ones |
|
16 |
|
|
17 |
### Changes in 1.7.2 (December 2, 2011) |
|
18 |
|
|
19 |
* Added option to return false on "before_open" callback to determine whether or not to show the gritter message (good for setting a max) |
|
20 |
|
|
21 |
### Changes in 1.7.1 (March 29, 2011) |
|
22 |
|
|
23 |
* Dropped IE6 support |
|
24 |
* Added position option to global options (bottom-left, top-left, top-right, bottom-right) |
|
25 |
|
|
26 |
### Changes in 1.7 (March 25, 2011) |
|
27 |
|
|
28 |
* Fixed 404 issue in the css when fetching '.' as an image |
|
29 |
* Added callback parameter in before_close and after_close callbacks to determine whether it was closed manually by clicking the (X) |
|
30 |
|
|
31 |
### Changes in 1.6 (December1, 2009) |
|
32 |
|
|
33 |
* Commented code using JSDOC |
|
34 |
* Major code cleanup/re-write |
|
35 |
* Made it so when you hit the (X) close button, the notification slides up and vanishes instead of just vanishing |
|
36 |
* Added optional "class_name" option for $.gritter.add() to apply a class to a specific notification |
|
37 |
* Fixed IE7 issue pointed out by stoffel (http://boedesign.com/blog/2009/07/11/growl-for-jquery-gritter/) |
|
38 |
|
|
39 |
### Changes in 1.5 (October 21, 2009) |
|
40 |
|
|
41 |
* Renamed the global option parameters to make more sense |
|
42 |
* Made it so the global options are only being ran once instead of each $.gritter.add() call |
|
43 |
|
|
44 |
### Changes in 1.4 (October 20, 2009) |
|
45 |
|
|
46 |
* Added callbacks (before_open, before_close, after_open, after_close) to the gritter notifications |
|
47 |
* Added callbacks (before_close, after_close) to the removeAll() function |
|
48 |
* Using 1 image for the CSS instead of 5 (Thanks to Ozum Eldogan) |
|
49 |
* Added option to over-ride gritter global options with $.extend |
|
50 |
|
|
51 |
### Changes in 1.3 (August 1, 2009) |
|
52 |
|
|
53 |
* Fixed IE6 positioning bug |
|
54 |
|
|
55 |
### Changes in 1.2 (July 13, 2009) |
|
56 |
|
|
57 |
* Fixed hover bug (pointed out by Beel & tXptr on the comments) |