Skip to content

Latest commit

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

Simplebox

... just a simple box.

Usage

$.simplebox.show(content, {
//settings
'title' : false,
'closeOnEsc': true,
'theme' : 'default',
'height' : 'auto',
'width' : 'auto',
'speed' : 500,
'easing' : 'swing',
'buttons' : false,
//events
'beforeShow' : function(){},
'beforeClose' : function(){},
'onClose' : function(){}
});

where content could be a string, dom element or jQuery element.

Shortcuts

  • Alert

    $.simplebox.alert("...")

  • Confirm

    $.simplebox.confirm("...", function(){ //your callback code });

About

just a simple lightbox

Resources

Stars

3 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages