Place for some configs

Li Europan lingues es membres del sam familie. Lor separat existentie es un myth. Por scientie, musica, sport etc, litot Europa usa li sam vocabular. Li lingues differe solmen in li grammatica, li pronunciation e li plu commun vocabules. Omnicos directe al desirabilite de un nov lingua franca: On refusa continuar payar custosi traductores.

Alert v 1.0

Handles alert boxes

Options

optiondefaultpossible valuesdescriptionsinceinfo
speed500integer defines the duration of the closing animation1.0
stickyfalsetrue | false if set to true alertbox can't get hidden1.0
onBeforeClosefunction(){}function(element) callback before the box get closed. Can return false to prevent closing.1.0
onClosefunction(){}function(element) callback after the box is closed1.0

Methods

method namedefaultargumentsdescriptionsinceinfo
close closes the alert box1.0
setkey, value sets the the option 'key' with the value 'value'1.0

Usage

$(selector).wl_Alert([options]);

Calling Methods

$(selector).wl_Alert('method', [,arg [,arg]]);

Injecting Alert boxes with javascript

$.wl_Alert('content', 'cssclass', placeToInsert, insertAfter, options);

Markup

<div class="alert warning">Warning</div>
<div class="alert success">Success</div>
<div class="alert note">Notification</div>
<div class="alert info">Information</div>
<div class="alert i_airplane purple">Custom Icon and color</div>
<div class="alert i_footprint green" data-sticky="true">This is a sticky note!</div>

Examples

Warning
Success
Notification
Information
Custom Icon and color
This is a sticky note!