public
Description: Quicky Growl-like implementation for Prototype
Clone URL: git://github.com/tdreyno/prototypegrowl.git
Click here to lend your support to: prototypegrowl and make a donation at www.pledgie.com !
add local images
cpjolicoeur (author)
Fri Apr 04 19:11:35 -0700 2008
commit  682c5e1e523dac27c3f5a8e11edb1cc7672efdfc
tree    d825992c002b8b5c367bef5edf1c03138bebe377
parent  1384aec747dbf94076c8fdf7a73222bce8b6ea76
...
2
3
4
5
6
7
 
 
 
8
9
10
...
43
44
45
46
 
47
48
49
...
51
52
53
54
 
55
56
57
...
77
78
79
80
 
81
82
...
2
3
4
 
 
 
5
6
7
8
9
10
...
43
44
45
 
46
47
48
49
...
51
52
53
 
54
55
56
57
...
77
78
79
 
80
81
82
0
@@ -2,9 +2,9 @@ var Growl = {};
0
 Growl.Base = Class.create({
0
   
0
   options: {
0
- image: 'http://www.icebeat.bitacoras.com/public/mootools/growl/growl.jpg',
0
- title: 'Window.Growl by Daniel Mota',
0
- text: 'http://icebeat.bitacoras.com',
0
+ image: 'growl.jpg',
0
+ title: 'protoGrowl by Craig P Jolicoeur',
0
+ text: 'http://craigjolicoeur.com/pgrowl',
0
     duration: 2
0
   },
0
   
0
@@ -43,7 +43,7 @@ Growl.Base = Class.create({
0
   },
0
   
0
   hide: function(elem) {
0
- Effect.Fade(elem);
0
+ Effect.Fade(elem, {queue: 'end'});
0
   }
0
   
0
 });
0
@@ -51,7 +51,7 @@ Growl.Base = Class.create({
0
 Growl.Smoke = Class.create(Growl.Base, {
0
   initialize: function($super) {
0
     this.queue = [];
0
- $super(arguments[1] || 'http://www.icebeat.bitacoras.com/public/mootools/growl/smoke.png', {
0
+ $super(arguments[1] || 'smoke.png', {
0
       div: { width: '298px', height: '73px' },
0
       img: { float: 'left', margin: '12px;' },
0
       h3: { margin: 0, padding: '10px 0', 'font-size': '13px' },
0
@@ -77,6 +77,6 @@ Growl.Smoke = Class.create(Growl.Base, {
0
   hide: function($super) {
0
     var elem = this.queue.shift();
0
     $super(elem);
0
- //elem.remove();
0
+ // elem.remove();
0
   }
0
 });

Comments

    No one has commented yet.