jQuery HTML5 Desktop Notification Plugin 1.1.1 Alpha!
This jQuery Plugin makes it easier to generate HTML5 Desktop Notifications from browsers.
The Plugin is still under development. More features are being added currently.
I have added new features in this release like
Notification message direction
Callbacks for events onclick, onshow, onerror and onclose
Identifier for each notification
Demo: .
Basic Usage(Simple Notification):
$.jwNotify({
image : 'path-to-image-file',
title: 'title-to-be-shown',
body: 'body-of-the-notification',
timeout: 10000
});
Basic Usage(HTML Notification):
$.jwNotifyHTML({
url: 'url-to-the-page-to-be-shown-in-notification',
timeout: 10000
});
Available Options and their Defaults(Simple Notification):
image : null, //Image to be shown in the notification area
title: null, //Title
body: null, //Body of the notification to be shown
timeout: 5000 //Time in milliseconds for which this notification should be shown;
//A value equal to 0 will make it the notification persistant
dir : null, //Direction(rlt, ltr) of the text shown in the
//notification
onclick: null, //Callback for onclick event on the notification
onshow: null, //Callback for onshow event
onerror: null, //Callback for onerror event
onclose: null, //Callback for onclose event
id: null //Identifier for the notifiction.
//This is used to identify the notification
//message shown.
Available Options(HTML Notification):
url: null //Url of the page to be shown in the notification
timeout: 5000 //Time in milliseconds for which this notification should be shown;
//A value equal to 0 will make it the notification persistant
onclick: null, //Callback for onclick event on the notification
onshow: null, //Callback for onshow event
onerror: null, //Callback for onerror event
onclose: null, //Callback for onclose event
id: null //Identifier for the notifiction.
//This is used to identify the notification
//message shown.
Find The plugin at jQuery Plugins Page





Comments
a PHP developer (not verified)
Sun, 03/13/2011 - 13:01
Permalink
when will this get over
when will this get over waiting to try it out
naughty_david
Mon, 03/14/2011 - 13:13
Permalink
The alpha for the plugin is
The alpha for the plugin is already out. You can find it at jQuery. The specification for Desktop notification has not been completely implemented by all browsers. This is why the final release has been stalled. There are quiet a lot more options to be tangled with.
Charitha Elvitigala (not verified)
Fri, 08/05/2011 - 10:02
Permalink
how about the browser
how about the browser compatibility for this plugin ?
naughty_david
Mon, 08/15/2011 - 11:57
Permalink
Right now its only working in
Right now its only working in Chrome, Opera and Safari
I havnt run a test on all Browsers yet to see how its comming.
Cheers,