GithubHelp home page GithubHelp logo

hugoalvarado / colibri.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from olivierlesnicki/colibri.js

0.0 2.0 1.0 93 KB

Colibri.js is a jQuery plugin to add simple Growl like notifications to your website.

CSS 38.02% JavaScript 61.98%

colibri.js's Introduction

Colibri.js

Colibri.js is a jQuery plugin to add simple Growl like notifications to your websites. Although the script functionalities are minimalist yet efficient, the look and feel of the notifications are fully customisable with CSS.

Dependencies

As a jQuery plugin, Colibri.js requires jQuery 1.6+ to work smoothly.

How-To-Use

It's easy

  1. Link to colibri.css <link href="colibri.css" rel="stylesheet"/>

  2. Link to colibri.js <script src="colibri.js"></script>

  3. Popup a notification

      // Only one line is required
      colibri('This is a notification!');
    

Default styles

The default styles were heavily (and intentionally) inspired by Twitter Bootstrap Alerts styles.

     // Success
     colibri('Well done! You successfully read this important alert message.', 'colibri-success');

     // Warning
     colibri('Warning! Best check yo self, you're not looking too good.', 'colibri-warning');

     // Error
     colibri('Oh snap! Change a few things up and try submitting again.', 'colibri-error');

Author

This plugin was carefully crafted in London, United Kingdom by Olivier Lesnicki @swaggaguru.

License

Licensed under the MIT licenses: http://www.opensource.org/licenses/mit-license.php

colibri.js's People

Watchers

James Cloos avatar Hugo Alvarado avatar

Forkers

semanticworld

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.