2017 © Pedro Peláez
 

library slick-flash

Jquery plugin providing Simple Lightweight flash messages

image

otterpocket/slick-flash

Jquery plugin providing Simple Lightweight flash messages

  • Friday, November 13, 2015
  • by Otterpocket
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,264 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 5 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

slick-flash

A Jquery plugin that provides a simple way to display subtle animated css flash messages., (*1)

Demo animation, (*2)

Installation

Include the css slick-flash.css, (*3)

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

Include the javascript slick-flash.js after you have loaded Jquery, (*4)

<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., (*5)

Information, (*6)

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

Success, (*7)

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

Error, (*8)

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

Warning, (*9)

$.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

The Versions

13/11 2015

dev-master

9999999-dev

Jquery plugin providing Simple Lightweight flash messages

  Sources   Download

The Requires

 

The Development Requires

by Ben Hamment