A small growl-like notification plugin for jQuery
http://github.com/jboesch/Gritter/
sample code :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$.gritter.add({
title: 'Contract Closed!',
text: 'Client : PipisCrew
click [here](http://google.com) to see client details',
image: 'notify.png',
sticky: true,
before_open: function(e){
this.oo= "test"; //store new property
},
before_close: function(e){
console.log(this.oo); //read new property
},
after_close: function(e){
console.log(this.oo); //read new property
}
});
origin - http://www.pipiscrew.com/?p=1709 jquery-gritter