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 !
remove Growl.Bezel code for now.  I'm only going to be using the Smoke 
effect to start with.  I'll add bezel back in later
cpjolicoeur (author)
Fri Apr 04 17:27:04 -0700 2008
commit  78a639474384ccb4c42c2c8544063da69eec36ae
tree    8d159293732b5bf44c67f43239012387e60c5b3a
parent  93d1095fc558c7afeef45fe832dc77c88ac4d301
...
1
2
3
4
5
6
7
8
...
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
...
 
 
 
1
 
2
3
4
...
80
81
82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
0
@@ -1,8 +1,4 @@
0
-/* Window.Growl, version 2.0: http://icebeat.bitacoras.com
0
- * Daniel Mota aka IceBeat <daniel.mota@gmail.com>
0
---------------------------------------------------------------------------*/
0
 var Growl = {};
0
-
0
 Growl.Base = Class.create({
0
   
0
   options: {
0
@@ -84,38 +80,3 @@ Growl.Smoke = Class.create(Growl.Base, {
0
     elem.remove();
0
   }
0
 });
0
-
0
-/*Gr0wl.Bezel = Class.create(Gr0wl.Base, {
0
-
0
- create: function() {
0
- this.i=0;
0
- this.parent({
0
- div: 'width:211px;height:206px;text-align:center;',
0
- img: 'margin-top:25px;',
0
- h3: 'margin:0;padding:0px;padding-top:22px;font-size:14px;',
0
- p: 'margin:15px;font-size:12px;'
0
- });
0
- },
0
-
0
- show: function(options) {
0
- var top = window.getScrollTop()+(window.getHeight()/2)-105,
0
- left = window.getScrollLeft()+(window.getWidth()/2)-103;
0
- options.position = {'top':top+'px', 'left':left+'px', 'display':'block'};
0
- this.i++;
0
- this.chain(this.parent.pass(options,this));
0
- if(this.i==1) this.callChain();
0
- },
0
-
0
- hide: function(elements) {
0
- this.queue.delay(400,this);
0
- this.parent(elements, { 'opacity': 0, 'margin-top': [0,50] });
0
- },
0
-
0
- queue: function() {
0
- this.i--;
0
- this.callChain();
0
- }
0
-
0
-});
0
-
0
-Gr0wl.Bezel.implement(new Chain);*/
0
\ No newline at end of file

Comments

    No one has commented yet.