Lightbox 图片展示插件

html

<a href="<?php echo RESOURCES_BASE_FOLDER;?>image/default_pic.jpg" target="_blank" class="vlightbox">
   <img src="<?php echo RESOURCES_BASE_FOLDER;?>image/default_pic.jpg" width="30" height="30" alt="">
</a>

js

window.Lightbox = new jQuery().visualLightbox({
        autoPlay:false,
        borderSize:15,
        classNames:'vlightbox',
        closeLocation:'top',
        descSliding:true,
        enableRightClick:false,
        enableSlideshow:true,
        resizeSpeed:7,
        slideTime:4,
        startZoom:true
        });

http://www.justinbarkhuff.com/lab/lightbox_slideshow/

Lightbox 图片展示插件

上一篇:systemtap 列出所有linux 内核模块与相关函数0


下一篇:程序员的快速开发框架:Github上 10 大优秀的开源后台控制面板