Vanillabox

Single Image

Example
$('a.image').vanillabox();
 

Grouped Image

Example
$('.image-list a').vanillabox();
 

Webpage

Example
$('a.webpage').vanillabox({
    type: 'iframe'
});
 

Options

Show
Code
{}

Events

You can attach custom actions to events fired by Vanillabox.

Example
var box = $('#foobar').vanillabox();

$(box).on('vnbx_show', function(sender) {
    // Do something
});
Show
Console

	

Available events:

NameArgumentsDescription
vnbx_show(sender)Fired after showing
vnbx_load(sender)Fired after loading a content
vnbx_hide(sender, success, content, index)Fired after hiding