Notify - simple, lightweight notifications using jQuery

29 June 2012, Danny Connell

I'm currently working on a project with tonnes of advanced jQuery functionality where performance is of utmost importance. Therefore I'm avoiding the use of plugins and keeping my code minimal and optimized.

I needed a simple way to display four types of notification (information, success, errors and warnings).

There are several plugins available that are fit for this purpose, but I needed something ultra-lightweight and ultra-fast.

So I knocked up Notify. To use it on your page, you just need to add 12 CSS rules, a single JavaScript function and no images.

To make a notification appear, just use a single line of JavaScript like this one:

notify('Your information was saved successfully!', 'success');

Check out the Notify page

Leave a Reply

Your email address will not be published. Required fields are marked *

* Copy This Password *

* Type Or Paste Password Here *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>