img iframe

DIV

I'm a div inside a lightbox.

div

Callbacks

Take a look at the console of your browser.
This lightbox will close automaticly to demonstrate the close-callback.

callbacks

Blocked

It's not possible to close this lightbox,
because the beforeClose function returns false.

blocked

Invalid

No callback should fire, because non of them is a function.
No HTML should be appended, because non of them is a function or string.

invalid

Closable

It's possible to close this lightbox with a click (default).

closable

Not closable

It's not possible to close this lightbox with a click.

not closable

Custom HTML

You can add custom HTML before and after the HTML placeholder element.

custom

Custom classNames

You can add custom classNames to the lightbox element.

classNames dynamic stack