public
Description: Quicky Growl-like implementation for Prototype
Homepage:
Clone URL: git://github.com/tdreyno/prototypegrowl.git
Click here to lend your support to: prototypegrowl and make a donation at www.pledgie.com !
cpjolicoeur (author)
Sat Apr 05 19:55:07 -0700 2008
tdreyno (committer)
Fri Dec 19 21:35:47 -0800 2008
prototypegrowl / README
100644 44 lines (26 sloc) 1.326 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
== Description ==
 
prototypeGrowl is an implementation of the Mac OS X Growl notification system
using the Prototype javascript library.
 
 
== Authors ==
 
Thomas Reynolds <tdreyno@gmail.com - http://github.com/tdreyno>
Craig P Jolicoeur <cpjolicoeur@gmail.com - http://github.com/cpjolicoeur>
 
 
== Usage ==
 
to create a new growl use the following code:
 
var growl = new Growl.Smoke;
growl.show({option: value});
 
The following option:value pairs can be set:
 
image: 'path to image file to use in growl bubble'
title: 'title of growl bubble'
content: 'message for growl bubble'
autohide: time in seconds to display the growl bubble (set to 0 to keep visible until clicked)
animated: time in seconds of fade in / fade out animation (set to 0 to prevent animation)
opacity: value from 0 - 1 of opacity of growl bubble
 
 
== Misc ==
 
Much thanks to the following javascript growl implementations for ideas and inspiration:
 
Window.Growl (mootools) - http://icebeat.bitacoras.com/mootools/growl/
protoGrowl (prototype) - http://www.midgard-project.org/documentation/protogrowl
Growl (jquery) - http://alexsancho.name/archives/2006/11/windowgrowl-con-jquery/
yowl (YUI) - http://code.google.com/p/yowl/
 
 
== TODO ==
 
* If using Effects, do a sanity check to make sure the needed libraries
are included.