Skip to content

joelmoss/jquery-flash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jQuery Flash plugin v1.0

A tiny jQuery plugin to show flash messages in an unobtrusive way.

Usage

Simply call the following to show a flash message with the text "This is my message":

$.flash('This is my message');

If you have Firefox and Firebug installed, or some other quality browser that has a javascript command line, try running the above line of code to see the flash in action.

Or you can call it on an element, where the flash message will be populated from the contents of the element:

$('#my-element').flash();

Installation

To install, just include this javascript file and the accompanying CSS file into your HTML page. And that's it!

Oh and don't forget the 'close' image.

If you need help, found a bug, or would like to contribute, head on over to https://github.com/joelmoss/jquery-flash

About

A tiny jQuery plugin to show flash messages in an unobtrusive way.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published