Cobox

A lightweight jQuery lightbox plugin.

View on Github Download

Examples

example-1 example-2 example-3 example-4

Usage

1. Download and unzip the plugin.

2. Load the jQuery library.

<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>

3. Load cobox.min.js.

<script src="js/cobox.min.js"></script>

4. Load cobox.css.

<link rel="stylesheet" href="css/cobox.css">

5. Copy files include blank.gif, loading.gif and nav.png in your css/img folder.

Optional: Use the title or data-title attribute if you want show a caption.

Help

  • If you find a bug, please create an issue on Github issues, thanks.