Lightweight Sticky Notification Bar Plugin For jQuery - ulak.js

File Size: 4.79 KB
Views Total: 1228
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   
Lightweight Sticky Notification Bar Plugin For jQuery - ulak.js

ulak.js is a micro jQuery notification plugin which enables you to display error / warning / info or success notification bars with custom messages on the top of your web page.

How to use it:

1. Load jQuery JavaScript library and the jQuery ulak.js plugin's JS and CSS files in your project.

<link href="ulak.css" rel="stylesheet">
<script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="ulak.js"></script>

2. Display a notification bar with optional settings.

ulak({

  // message text
  "text"    : "an error occured", 

  // error, warning, success, info
  "type"    : "error", 

  // autodismiss timeout
  "timeout" : 2000,

  // enable modal mode
  "modal"   : false 
  
});

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