Javascript library for displaying notifications
#Instructions for adding to bundle
- Add CSS and JS file to /<YOUR_THEME_NAME>/libraries/jquery.notifie/ (You will have to create the jquery.notifie directory.)
- Open head.jspf (Found in /<YOUR_THEME_NAME>/common/interface/fragments/)
- Import CSS file at the top of head.jspf with the other CSS files <link rel="stylesheet" type="text/css" href="<%=bundle.bundlePath()%>libraries/jquery.notifie/jquery.notifie.css" />
- Import JS file at the bottom of head.jspf with the other JS files <script type="text/javascript" src="<%=bundle.bundlePath()%>libraries/jquery.notifie/jquery.notifie.js"></script>
#How to use Call .notifie(options) on a jQuery element, where options is a Javascript object with settings for the notifications.
Example: $('input').notifie({ type: 'alert', severity: 'info', message: 'This is an informative notification.' });
See the JS file for details on what options are available.