Nice little Notification alerts with a simple animation without writing any HTML code, Dosen't even require Jquery!!.
Download the distribution and include the file in your pages!
<script type="text/javascript" src="pathtontfy.min.js"></script>
<script>ntfy.init(),ntfy.ntfy(type,position,title,message);</script>
- Types
- success
- error
- warning
- info
- fav
- notification
- date
- pending
- printing
- filecopy
- Position
- top-left
- top-right
- bottom-left
- bottom-right
- bottom-left
- top-center
- bottom-center
<script>ntfy.init(),ntfy.ntfy("date","top-left","Appointment Booked!,"You have booked the following on 12/01/2020");</script>
Have a look at /docs to read the docs/requirements.
Feel free to edit/add more features. Pull requests are really appreciated
MIT License