forked from caolan/jquery.notify.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
executable file
·69 lines (48 loc) · 1.96 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
======================================
jQuery Notify Plugin 2 - v0.1 - by @koosvdkolk
======================================
Attempts to implement notifications similar to those available in
Ubuntu since Jaunty Jackalope (9.04) [see: $ aptitude show notify-osd]
For more information on the notifications, see the following:
- http://www.markshuttleworth.com/archives/253
- http://launchpad.net/notify-osd
Dependencies: jQuery 1.3
jquery.jcorners.js
Copyright (c) 2012 Koos van der Kolk
Dual licensed under the MIT and GPL licenses (same as jQuery).
http://docs.jquery.com/License
Based on the jQuery Notify Plugin by https://github.com/caolan
==================
Installation
------------------
Include notify.css and jquery.notify.js in your HTML. You'll also need,
jquery-1.3.2.js (or latest jquery 1.3 release) and jquery.jcorners.js.
You can get jquery.jcorners.js from:
http://plugins.jquery.com/project/JCorners
==================
Usage
------------------
You can then create notifications by calling $.notify(options), where
options is an object with some or all or the attributes: title, text, icon,
delay (in millisecs), sticky (boolean), closeOnClick (boolean),
parentElement (DOM element).
Example: $.notify({title:'Example', text:'Lorem ipsum...', icon:'image.png'});
==================
Supported Browsers
------------------
Tested and working on:
FF3 (Windows XP & Ubuntu)
IE7
IE6
Safari 3.2.1 (Windows XP)
Opera 10.0 (Windows XP)
Additional testing would be welcome, if you have any more results
to add please get in touch.
==================
Known Issues
------------------
Browser security error if opened as a local file instead of run through a
webserver. Most other issues are due to ongoing development on handling
CSS for elements behind the notifications. Active and focus CSS properties
are not currently supported, and hover styles are only partially supported.
If you have any problems, please submit an Issue on GitHub.