jQuery侧边栏式lightbox图片画廊插件

 所属分类:图片相册

 浏览:651次-  下载:0次-  评论: 0次-  更新时间:2020-09-27

 jQuery侧边栏式lightbox图片画廊插件

在HTML文件中引入

<link href="src/strip.css" rel="stylesheet">
<script src="//code.jquery.com/jquery.min.js"></script>
<script src="src/strip.min.js"></script>

图片布局

<a href="images/large/1.jpg" data-strip-caption="Image caption here" data-strip-group="gallery-name">
  <img src="images/thumb/1.jpg"> 
</a>
 
<a href="images/large/2.jpg" data-strip-caption="Image caption here" data-strip-group="gallery-name">
  <img src="images/thumb/2.jpg"> 
</a>
 
<a href="images/large/3.jpg" data-strip-caption="Image caption here" data-strip-group="gallery-name">
  <img src="images/thumb/3.jpg"> 
</a>

配置说明

effects: { // Sets the duration of individual effects, or disables them when set to false.
  spinner: {
    show: 200,
    hide: 200
  },
  transition: {
    min: 175,
    max: 250
  },
  ui: {
    show: 0,
    hide: 200
  },
  window: {
    show: 300,
    hide: 300
  }
},
maxWidth: 500, // Sets a maximum width for the content.
maxHeight: 500, // Sets a maximum height for the content.
hideOnClickOutside: !0, // hideOnClickOutsideHide Strip when clicking outside of it or an element that could open it, enabled by default.
keyboard: { // keyboardEnable or disable individual keyboard buttons or all of them when set to false.
  left: !0,
  right: !0,
  esc: !0
},
loop: !0, // When set to true a group becomes a loop, making it possible to move between the first and last item
overlap: !0, // overlapAllows buttons to overlap the content when set to true, which is the default. Disabling overlap will cause buttons to be positioned outside of the content.
preload: [1, 2], // Sets the items to preload before and after the current item, or disables preloading when set to false.
position: !0, // Show or hide the position indicator.
side: "right", // sideSet the side to position Strip on to top, bottom, left or right.
vimeo: { // vimeoSets the player parameters of a Vimeo video, available options can be found in the Vimeo 
  autoplay: 1,
  api: 1,
  title: 1,
  byline: 1,
  portrait: 0,
  loop: 0
},
youtube: { // Sets the player parameters of a Youtube video, available options can be found in the Youtube 
  autoplay: 1,
  controls: 1,
  enablejsapi: 1,
  hd: 1,
  iv_load_policy: 3,
  loop: 0,
  modestbranding: 1,
  rel: 0,
  vq: "hd1080"
},
skin: 'strip', // Sets the skin. If you've provided default options for this skin they'll be applied as a starting point for other options.
afterPosition: // A function to call after the position changed. The first argument is the current position within the group.
afterHide: // A function to call after Strip is fully hidden.
onShow: // A function to call when Strip comes into view.


金币说明:注册即送10金币,每日签到可获得更多金币,成为VIP会员可免金币下载! 充值金币充值会员更多说明»
描述: jQuery侧边栏式lightbox图片画廊插件,该插件使用非常简单,可以对图片进行分组,然后以侧边栏滑出的方式,在侧边栏轮播展示这组图片。

文件目录结构

  • fonts
      • ┝ icomoon.woff
      • ┝ icomoon.svg
      • ┝ icomoon.eot
      • ┝ icomoon.ttf
  • ┝ www.zzsucai.com.txt
  • dist
      • css
          • strip-skins
              • strip
                  • ┝ previous.png
                  • ┝ close.png
                  • ┝ previous-small-faded.png
                  • ┝ next.svg
                  • ┝ next-small.svg
                  • ┝ previous.svg
                  • ┝ next-small.png
                  • ┝ next-small-faded.png
                  • ┝ next-faded.png
                  • ┝ previous-small.svg
                  • ┝ error.svg
                  • ┝ error.png
                  • ┝ previous-faded.png
                  • ┝ close.svg
                  • ┝ previous-small.png
                  • ┝ next.png
          • ┝ strip.css
      • js
          • ┝ strip.pkgd.min.js
          • ┝ strip.pkgd.js
  • css
      • ┝ htmleaf-demo.css
      • ┝ normalize.css
  • related
      • ┝ 1.jpg
      • ┝ 2.jpg
  • js
      • ┝ jquery-1.11.0.min.js
  • ┝ index.html
  • ┝ .url
  • images
      • large
          • ┝ 1.jpg
          • ┝ 5.jpg
          • ┝ 2.jpg
          • ┝ 4.jpg
          • ┝ 6.jpg
          • ┝ 3.jpg
      • thumb
          • ┝ youtube.jpg
          • ┝ 1.jpg
          • ┝ 5.jpg
          • ┝ 2.jpg
          • ┝ 4.jpg
          • ┝ 6.jpg
          • ┝ 3.jpg
          • ┝ vimeo.jpg

相关素材

讨论这个素材(0)回答他人问题或分享使用心得奖励金币

〒_〒 居然一个评论都没有……

表情  文明上网,理性发言!
我的金币余额: 0 已下载次数: 0
所需金币:8开始下载

金币获取:签到、评论、投搞、充值、发帖、回帖    » 在线充值(10金币=1元)