Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
README.md

jquery.notification

A simple and small notification plugin for jQuery.

Demo

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

Installation

Include script after jQuery

<script src="jquery.notification.js"></script>

License

Dual licensed under the MIT or GPL Version 2 licenses.

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

Something went wrong with that request. Please try again.