PNotify is a JavaScript notification library, developed by SciActive.
PNotify provides desktop notifications based on the Web Notifications spec. If desktop notifications are not available or not allowed, PNotify will fall back to displaying the notice as a regular, in-browser notice.
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.
Or build your own:
[ui-pnotify].ui-pnotify.stack-bar-top { width: 100%; }
[ui-pnotify].ui-pnotify.stack-bar-bottom { width: 70%; }
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.
© 2011-2018 Hunter Perrin. All Rights Reserved.
Comments