Popup.js Demos

A few simple demos to whet your appetite. All of these demos and more are bundled with the plugin when you download it.

No frills, just call it as it is. Each example below calls the plugin using only the default options.


Some more complex demos, which involve passing in options.

More advanced demos, using the public API.

You can intelligently handle errors with Popup.js, falling back to suitable content if something fails to load.

Popup.js was intentionally created without a built-in gallery, but flexible enough to be extended and create one if need be.

Here is an example gallery. (Which, when minified and gzipped, is still only ~2.15kb WITH popup.js!)