这是一款仿Google+简洁jQuery轮播图插件。该jQuery轮播图插件使用简单,效果类似Google+上的轮播图效果。
使用方法
在页面中引入jquery和jquery.plusGallery.js,以及jquery.plusGallery.css文件。
<link rel="stylesheet" href="path/to/jquery.plusGallery.css">
<script src="js/jquery.min.js"></script>
<script src="js/jquery.plusGallery.js"></script>
                
                HTML结构
该计数器动画特效的HMTL结构如下:
<div class="myplusgallery" style="position: relative;">
  <div class="img-prev" title="Previous Image">‹</div>
  <div class="img-next" title="Next Image">›</div>
  <div class="img-overlay">
    <p>Pictures from <br>
  </div>
  <div class="img-slide">
    <figure>
      <img src="1.jpg" alt="Image Alt" />
    </figure>
    <figure>
      <img src="2.jpg" alt="Image Alt" />
    </figure>
    <figure>
      <img src="3.jpg" alt="Image Alt" />
    </figure>
    <figure>
      <img src="4.jpg" alt="Image Alt" />
    </figure>
    <figure>
      <img src="5.jpg" alt="Image Alt" />
    </figure>
  </div>
</div>
                
                初始化插件
在页面DOM元素加载完毕之后,通过plusGallery()方法来初始化该jQuery轮播图插件。
$('.myplusgallery').plusGallery();
                
                该jQuery轮播图插件的github地址为:https://github.com/appleonkel/plusGallery
版权声明
文章来源: https://www.uihtm.com/jquery/9710.html
版权说明:仅限用于学习和研究目的;不得将上述内容用于商业或者非法用途,否则,一切后果请用户自负。我们非常重视版权问题,如有侵权请邮件(44784009#qq.com)与我们联系处理。敬请谅解!


                    



















