🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Slick Flash is a lightweight jQuery plugin used to create sticky, CSS3 animated flash messages that currently comes with 4 different notification types.

Notification

Documentation

slick-flash

A Jquery plugin that provides a simple way to display subtle animated css flash messages.

Demo animation

Installation

Include the css slick-flash.css

<link rel="stylesheet" href="../stylesheets/css/slick-flash.css">

Include the javascript slick-flash.js after you have loaded Jquery

<script type="text/javascript" src="../javascripts/slick-flash.js"></script>

Usage

Simply call one of the 4 javascript functions with the Message type and message content.

Information

$.slickFlash('information', 'You have 3 new messages in your inbox');

Success

$.slickFlash('success', 'Your application wass successfully submitted');

Error

$.slickFlash('error', 'An error occurred while sending mail. The mail server responded: Authentication is required');

Warning

$.slickFlash('warning', 'Your subscription is due to expire in 9 days');

ToDo

  • Configurable defaults
  • Refactor Coffeescript
  • Optional display time
  • Optional message name
  • Customisable colours including opacity
  • Better responsive support

You May Also Like