PNotify is a JavaScript notification plugin, developed
by SciActive.
Formerly known as Pines Notify.
It is designed to provide an unparalleled level of
flexibility, while still being very easy to implement and
use.
PNotify provides desktop notifications based on the
Web Notifications Draft.
If desktop notifications are not available or not allowed,
PNotify will fall back to displaying the notice as a
regular, in-browser notice.
PNotify works in all major browsers and provides a consistent interface. It is tested thoroughly for consistency.
PNotify can provide non-blocking notices. This allows the user to click elements behind the notice without even having to dismiss it.
PNotify uses either Bootstrap or jQuery UI for styling, which means it is fully and easily themeable. Try out some of the readymade themes using the selector in the top right corner of this page.
The first time you click one of these buttons, you will be asked to grant permission for this site to show notices. Then you can click them again to see the desktop notification.
If your browser doesn't support Web Notifications, or you deny permission to show them, you will only see regular in-browser notices. You can check here.
I'm the stack context where notices will be placed. I'm position: relative, so the notices will be positioned relative to me. My overflow is set to auto, so the notices won't show beyond my borders.
The PNotify plugin can use either jQuery UI or Twitter Bootstrap to style its look and feel, including colors and background textures. We recommend using the ThemeRoller tool or Bootswatchr to create and download custom themes that are easy to build and maintain.
If a deeper level of customization is needed, there are widget-specific classes referenced within the pnotify.core.css stylesheet that can be modified. These classes are highlighted in bold below.
© 2011-2012 SciActive.com. All Rights Reserved.
Comments