Simple dialog box (1kb) jQuery plugin with Lightbox style fading and blocking of 'parent' document. Tested in IE7+, Firefox 3.6+, Chrome, Safari 5 and Opera 11
JavaScript Groovy CSS Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
css
images
js
.project
README.mediawiki
apiary.apib
index.html

README.mediawiki

SimpleBox

SimpleBox is extremely light and provides you with a nice little dialog for your confirmation messages, simple image previews and just about anything where a full LightBox is just overkill.

Using SimpleBox is extremely simple, include the JS file, one image, and a couple of lines of CSS and you are good to go.

To make SimpleBox more accessible, SimpleBox binds to the 'c' access key as welll as the escape key to close a SimpleBox.

Usage

To open the dialog: $("#containerid").simplebox();

To close the dialog: $("#containerid").simplebox('close');