Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcojetson/jquery-notification


https://github.com/marcojetson/jquery-notification

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# jquery.notification

A simple and small notification plugin for jQuery.

## Demo

Check out http://marcojetson.github.com/jquery-notification/

## Installation

Include script after jQuery

## License

Dual licensed under the MIT or GPL Version 2 licenses.
- http://www.opensource.org/licenses/mit-license.php
- http://www.gnu.org/licenses/gpl-2.0.html

## Usage

$.createNotification(options)

## Options

### className
A string containing one or more extra CSS classes, default none

### click
Click callback

### content
Notification content

### duration
On screen duration in milliseconds, set it to 0 for sticky, default 5000

### fadeIn
Fade in effect duration in milliseconds, default 400

### fadeOut
Fade out effect duration in milliseconds, default 400

### limit
Visible limit per board, when reached notifications wont be created, default false

### queue
If queue is active and limit is reached notifications will be shown when other hides, default false

### slideUp
Slide up effect duration in milliseconds, default 200

### horizontal
Horizontal alignment, default right

### vertical
Vertical alignment, default top