Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A jQuery plugin to provide monologue style messaging. Inspired by Growl's music video theme.
JavaScript
tag: rel-1.0

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
lib
LICENCE
README.markdown

README.markdown

Choones

"Choones" is a jQuery plugin, with a little markup and some styles that mimics Growl's "Music video" theme (pop up, from the bottom - its like watching rage/mtv)

Non-imposing message display

About

Sending messages back to the user is often something that uses some strange design pattern of adding a box to the top of a page, that pushes down the content or, even worse, thrown into a 'lightbox'. Choones is something that I've implemented a number of times, finally recognising this pattern I thought it was worth sharing.

Plans for a rails plugin that replaces flash[] messages is in the works (for regular or ajax requests).

Usage

Messages can be sent with either a 'success' or 'failure' context, that is; the icon changes.

Sending a regular message can be done like this:

$.choones("AC/DC", "Thunderstruck");

Perhaps you only want to set a title?

$.choones("Akka Dacca");

Or you want them to dissapear a little bit quicker? (3 seconds in the example below)

$.choones("AC/DC", "Dirty Deeds Done Dirt Cheap", {display_time: 3000});

Setting a 'failure' message

$.choones("Megadeath", "Sad, sad sad", {type: 'failure'});

Licence

All credit due to those who got here before me. Licence is MIT, use it as you wish.

Something went wrong with that request. Please try again.