Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhishekbiswal/notify
A Simple Notification function
https://github.com/abhishekbiswal/notify
Last synced: 17 days ago
JSON representation
A Simple Notification function
- Host: GitHub
- URL: https://github.com/abhishekbiswal/notify
- Owner: AbhishekBiswal
- Created: 2015-11-04T18:59:50.000Z (about 9 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-11-04T19:08:09.000Z (about 9 years ago)
- Last Synced: 2024-11-06T03:43:08.722Z (2 months ago)
- Language: HTML
- Size: 125 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Notify
### Simplest Notification Bar / Box / Bubble around.Demo : http://wirdd.in/notify
## Why This?
Because I needed the same for a project and I found myself writing the same again and again. So I made it into a function which uses jQuery, and only one HTML div which makes it super easy to customize. Right now it's just a bar stuck to the top of the browser and but you can make it fly around :)Another reason to make this is for the simplicity. While working on the backend, I can send in notify(); within a script tag without actually writing another notification system. It can be used to notify the user that the fields have been submitted or errors. Simplicity also makes it extensible, like adding classes on the fly for styling it differently for different cases.
## How?
Include notify.js and notify.css (or your customized #notify css) in your HTML Document/Documents and fire up the following function anywhere.
```
notify("Your Message Here");
```ANYWHERE. You can put it in an onclick event or even onload.
```
Click
``````
notify("I'll pop up");
```