mk-notiX is a very small jQuery notification plugin which helps you display growl-style toast messages to alert the user of something. By default, the toast notification slides in from the top left of the page, stays for a specified amount of time, and then slides away.
How to use it:
1. Just include the jQuery mk-notiX plugin's script after jQuery library and we're ready to go.
<script src="//code.jquery.com/jquery.min.js"></script> <script src="mk-notix.js"></script>
2. Display a toast notification with custom message, duration and color. That's it.
// returnN('message','color','duration') <button onclick="returnN('Notification Message','orange',5000)"> Click me </button>