|
Growler
Growler is a prototype js class that displays notices on a web page.
OverviewGrowler is a Prototype JavaScript Framework based class that displays unobtrusive notices on a page. It works like the OS X Growl. It supports themes by using CSS styling. Also options can be passed to modify how long the notice is displayed or whether it remains displayed until the user closes it. Growler also supports observing two events: notice:created and notice:destroyed. These can be passed in as options to the notice or attached to the returned notice object. UsageInclude the Growler.js on your page after prototype.js. I use the ProtoPacked which is included in the download. Otherwise, scriptaculous effects must be included before the Growler class. <script src="prototype.js" type="text/javascript" charset="utf-8"></script> <script src="Growler.js" type="text/javascript" charset="utf-8"></script> ExamplesExamples can be found here. Growler Examples Options
CompatibilityGrowler has been tested with Safari 3, Firefox 3, IE6, IE7, and Opera. RequirementsGrowler requires Prototype 1.6 and Scriptaculous effects |
Sign in to add a comment
Nice one! I've just added a offsetX, offsetY parameter. Growler was on my bottom bar; unable to click on it ;)