jquery图片放大插件Lightbox2.6 -JS/jQuery代码 -演示与下载 -时代Java

Lightbox2.6

by Lokesh Dhakar

Lightbox是很小javascript库用来展示图片相册的插件。

Examples

Single images

thumb-1 thumb-1

An image set

Plants: image 1 0f 4 thumb Plants: image 2 0f 4 thumb Plants: image 3 0f 4 thumb Plants: image 4 0f 4 thumb

How to use

Step-by-step instructions

Part 1 - Get setup

  1. Download and unzip the latest version of Lightbox from above.
  2. Look inside the js folder to find jquery-1.10.2.min.js and lightbox-2.6.min.js and load both of these files from your html page. Load jQuery first:
    <script src="js/jquery-1.10.2.min.js"></script>
    <script src="js/lightbox-2.6.min.js"></script>
    
  3. Look inside the css folder to find lightbox.css and load it from your html page:
    <link href="css/lightbox.css" rel="stylesheet" />
    
  4. Look inside the img folder to find close.png, loading.gif, prev.png, and next.png. These files are used in lightbox.css. By default, lightbox.css will look for these images in a folder called img.

Part 2 - Turn it on

下载代码说明
X关闭

jquery图片放大插件Lightbox2.6可根据窗口大小缩放图片

jquery图片放大插件Lightbox2.6是一款自动根据窗口的大小缩放图片,模式窗口,幻灯片方式播放,内容预加载,渐变等效果。经测试效果相当不错,作者推荐下载。