Skip to content

Garwih/cobox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

a lightweight jQuery lightbox plugin.

Resources

License

Stars

Watchers

Forks

Packages

No packages published