Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcojetson/jquery-notification
https://github.com/marcojetson/jquery-notification
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/marcojetson/jquery-notification
- Owner: marcojetson
- Archived: true
- Created: 2012-10-18T15:39:22.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2013-05-01T18:54:44.000Z (almost 12 years ago)
- Last Synced: 2024-08-01T22:02:27.766Z (7 months ago)
- Language: JavaScript
- Size: 176 KB
- Stars: 54
- Watchers: 11
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-github-repos - marcojetson/jquery-notification - (JavaScript)
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