Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
The simplest notification jQuery plugin. Ever.
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.md
piflexnotify.jquery.js

README.md

PIFlex Notify

PIFlex Notify is a really simple jQuery plugin with only one purpose: making notifications. It is dead simple to implement it in your project.

Demo

http://igorpan.github.com/PIFlexNotify/

Implementation

Although it's really easy, here it goes:

  • Include script on your page
  • Call $.piFlexNotify() on document ready event
  • Include stylesheet provided and modify it to suit your needs or make your own

Usage

Simple notification
$.notify('Title','Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ac turpis ac nibh gravida hendrerit quis in nibh. Duis vitae.');
Notification with additional class
$.notify('Title','Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque ac turpis ac nibh gravida hendrerit quis in nibh. Duis vitae.', 'warning');
Short notification
$.notify('Just a short notification');

Options

There are two options you can use when calling $.piFlexNotify():

  • animationSpeed [default: 350]: speed at which notifications apear and fade away (milliseconds)
  • visibleTime [default: 10000]: duration after which notifications will fade away from screen (milliseconds)
Something went wrong with that request. Please try again.