Super Tiny Notification Plugin With jQuery Notifino - Download Super Tiny Notification Plugin With jQuery - Notifino

Download Super Tiny Notification Plugin With jQuery – Notifino

Posted on

This time I will share jQuery Plugin and tutorial about Super Tiny Notification Plugin With jQuery – Notifino, hope it will help you in programming stack.

Super Tiny Notification Plugin With jQuery Notifino - Download Super Tiny Notification Plugin With jQuery - Notifino
File Size: 7.91 KB
Views Total: 1646
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Notifino is a very small (~3kb unminified) jQuery plugin for creating flexible, customizable notification bars that appear at the top of the webpage.

How to use it:

1. Load jQuery library together with the jQuery Notifino plugin’s JS and CSS files in the html page.

1 <link rel="stylesheet" href="notifino.css">
2 <script src="jquery.min.js"></script>
3 <script src="jquery.notifino.js"></script>

2. Load the Font Awesome 4 Icon Font for the close icon (OPTIONAL).

1 <link rel="stylesheet" href="font-awesome.min.css">

3. Display a default notification bar on the webpage.

1 $(" body ").notifino();

4. Change the default styles and message text of the notification bar.

01 $(" body ").notifino({
02  
03   // HEX CODE or RGB
04   background      : '#23ADDB',
05  
06   // Message text
07   text            : 'Hey there, you got a new notification!',
08  
09   // Text color
10   color           : '#fff',
11  
12   // Default wrapper
13   wrapper         : '<div class="notifino"></div>',
14  
15   // standard - fluid - boxed
16   layout          : 'fluid',
17  
18   // Rounded border or not
19   rounded         : false,
20  
21   // Text for close button
22   closeBtnText    : '',
23  
24   // Close button options
25   closeButton     : {
26     show    : true,
27     id      : "notifino-close",
28     class   : 'notifino-btn-rounded',
29     icon    : true
30   },
31  
32 });

5. Add a second action button to the notification bar.

01 $(" body ").notifino({
02  
03   secondButton    : {
04     show      : true,
05     text      : 'Learn more',
06     href      : 'http://jqueryscript.net',
07     bgColor   : '',
08     textColor : '#fff'
09   }
10  
11 });

This awesome jQuery plugin is developed by erstefan. For more Advanced Usages, please check the demo page or visit the official website.

source : jqueryscript.net