JSFiddle - React, Tailwind, and code Playground

by Jon Eyrick

HTML

<link rel="stylesheet" href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css">
<script src="http://ifightcrime.github.io/bootstrap-growl/jquery.bootstrap-growl.min.js"></script>
http://jsfiddle.net/ifightcrime/Us6WX/88/#fork

JavaScript

$(function() {
    $.bootstrapGrowl("This is a test.");
    
    setTimeout(function() {
        $.bootstrapGrowl("This is another test.", { type: 'success' });
    }, 1000);
    
    setTimeout(function() {
        $.bootstrapGrowl("Danger, Danger!", {
            type: 'error',
            align: 'center',
            width: 'auto',
            allow_dismiss: false
        });
    }, 2000);
    
    setTimeout(function() {
        $.bootstrapGrowl("Danger, Danger!", {
            type: 'info',
            align: 'left',
            stackup_spacing: 30
        });
    }, 3000);
});