🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

jQuery cobox is a lightweight jQuery plugin that helps you create responsive popup image galleries with a fullscreen modal overlay effect.

gallery-lightbox image-lightbox

Documentation

Cobox

A lightweight jQuery lightbox plugin.

一个轻量级的 jQuery 灯箱效果插件。

Demo

Demo Page

Usage

1.Download and unzip the plugin.

下载并解压插件

2.Load the jQuery library.

加载 jQuery 库

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

3.Load cobox.min.js.

加载 cobox.min.js

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

4.Load cobox.css.

引入 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.

复制三个图片文件到 css/img 文件夹

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

可选:如果想要显示图片标题,请在图片链接中使用 titledata-title

Browser Support

IE 8+, Opera, Chrome, Firefox, Safari

License

MIT License


You May Also Like