https://github.com/chrishumboldt/Flickerplate


官网


  1. <link href="${baseURL}/themes/default/css/flickerplate.css" rel="stylesheet" type="text/css">
  2. <script src="${baseURL}/themes/default/js/hammer-v2.0.3.js"></script>
  3. <script src="${baseURL}/themes/default/js/flickerplate.js"></script>


引入上面3个   hammer-v是响应式用到的支持触控


  1. <div class="lb_container" style="height: 200px;">
  2. <ul>
  3. <c:forEach items="${requestScope.housephotoes}" var="housev">
  4. <li data-background="${housev.APPPHOTOURL}">
  5. </li>
  6. </c:forEach>
  7. </ul>
  8. </div>

上面是设置背景图片的  ,  官网只提供了设置普通文字 , 只是在li 下面加两个标签即可


<li data-background="image-url.jpg">
<div class="flick-title">Example Heading</div>
<div class="flick-sub-text">Sub Text</div>
</li>


最新版初始化

  1. new flickerplate({
  2. selector: '.lb_container',
  3. animation: 'transition-fade',
  4. autoFlick: false,
  5. dotAlignment: 'right',
  6. theme: 'dark'
  7. });


api 解释还没有中文


Name Default Options Description
animation transform-slide transform-slide, transform-slide, transition-fade, transition-slide Choose the animation type you want.
arrows true true, false Arrows are used to navigate back and forth between the flicks.
arrowsConstraint false true, false When you get to the end of the flicks pressing the next arrow will navigate you to the beginning again should you have a false constraint. The same applies to the previous arrow.
autoFlick true true, false Sets the flick to run automatically. A manual flick resets the delay.
autoFlickDelay 10 Set the delay (in seconds) between each auto flick.
dotAlignment center center, left, right Set the horizontal alignment of the dot navigation.
dots true true, false Dot navigation is used to indicate and navigate between the flicks.
position 1 Set the starting flick.
theme light light, dark Currently two options, light and dark. This will set the font colour, block text colour, arrows and dots to either dark or light.

但是有原版的解释  对照参考即可

属性/方法 类型 默认值 说明
arrows 布尔值 true 显示左右箭头控制
arrows_constraint 布尔值 false 左右到头了禁止点击
auto_flick 布尔值 true 自动播放
auto_flick_delay 整数 10 自动播放间隔,以秒为单位
block_text 布尔值 true 文字显示背景阴影
dot_navigation 布尔值 true 显示圆点导航
dot_alignment 字符串 center 圆点导航位置
flick_animation 字符串 transition-slide 动画切换方式,可选 transition-slide、transform-slide、jquery-slide、scroller-slide 4种
flick_position 整数 1
inner_width 布尔值 false
theme 字符串 light 设置主题,可选 light、dark 2种








基于 html5的 jquery 轮播插件 flickerplate的更多相关文章

  1. 自己写的一个jQuery轮播插件

    大概是四月初开始写的,中间停了有一个月吧.这是我在Github的第一个项目.项目地址:https://github.com/linzb93/jquery.slide.js. 轮播应该是最好写的插件了, ...

  2. 12款 jquery轮播插件

    Nivo Slider 首先推荐的这款插件号称世界上最棒的图片轮播插件,有独立的 jQuery 插件和 WordPress 插件两个版本. 目前下载量已经突破 1,800,000 次!jQuery 独 ...

  3. jQuery轮播插件SuperSlide【2016-10-14】

    [一.页面实现轮播效果] (1)效果下图可以自动轮播 (2)代码  autoPlay控制是否轮播 //banner轮播 $(".banner").slide({mainCell:& ...

  4. JQUERY 轮播插件

    闲来无事,写个轮播插件,项目中用到的时候就无需在写了,不然会累死宝宝的 废话少说 代码上 html部分 <div class="lunbo"> <ul> & ...

  5. 基于Jquery的banner轮播插件,简单粗暴

    新手练习封装插件,觉着在前端这一块的轮播比较多,各种旋转木马一类的3D旋转,技术不够,所以封装了一个简单的banner轮播插件,功能也比较简单,就是左右向的轮播. 先挂地址https://github ...

  6. 12款经典的白富美型—jquery图片轮播插件—前端开发必备

    图片轮播是网站中的常用功能,用于在有限的网页空间内展示一组产品图片或者照片,同时还有非常吸引人的动画效果.本文向大家推荐12款实用的 jQuery 图片轮播效果插件,帮助你在你的项目中加入一些效果精美 ...

  7. Javascript和jQuery WordPress 图片轮播插件, 内容滚动插件,前后切换幻灯片形式显示

    用于在有限的网页空间内展示一组产品图片或者照片,同时还有非常吸引人的动画效果.本文向大家推荐12款实用的 jQuery 图片轮播效果插件,帮助你在你的项目中加入一些效果精美的图片轮播效果,希望这些插件 ...

  8. PgwSlideshow-基于Jquery的图片轮播插件

    0 PgwSlideshow简介 PgwSlideshow是一款基于Jquery的图片轮播插件,基本布局分为上下结构,上方为大图轮播区域,用户可自定义图片轮播切换的间隔时间,也可以通过单击左右方向按键 ...

  9. Nivo Slider - 世界上最棒的 jQuery 图片轮播插件

    Nivo Slider 号称世界上最棒的图片轮播插件,有独立的 jQuery 插件和 WordPress 插件两个版本.目前下载量已经突破 1,800,000 次!jQuery 独立版本的插件主要有如 ...

随机推荐

  1. webshell三剑客[aspxspy、phpspy、jspspy]

    ASPSPY:http://www.rootkit.net.cn/article.asp?id=132<已关闭> 下载:ASPXspy2 JSPSPY:http://www.forjj.c ...

  2. 折叠伸缩工具栏 CollapsingToolbarLayout

    PS:这是一个超级超级垃圾的控件,强烈建议放弃使用! demo地址:https://github.com/baiqiantao/CollapsingDemo.git  一个类似的效果的库,有800个星 ...

  3. Pairwise

    FCC题目:找到你的另一半 有一个能力数组[7,9,11,13,15],按照最佳组合值为20来计算,只有7+13和9+11两种组合.而7在数组的索引为0,13在数组的索引为3,9在数组的索引为1,11 ...

  4. 最短路径算法(Dijkstra)

    1.建立矩阵,记录任意两点间的直接距离: 2.两个集合,一个集合记录到每个点的最短路径,一个记录前驱节点: 3.主循环,每次找当前点与其他点的距离,记录下最短距离和前驱节点,然后看看通过前驱节点和最短 ...

  5. netlink error: too many arguments to function 'netlink_kernel_create'

    2.6版本的 netlink_kernel_create(&init_net, NETLINK_TEST, 0, NULL, kernel_receive ,THIS_MODULE);   3 ...

  6. java线程同步问题——由腾讯笔试题引发的风波

    刚刚wm问我了一道线程的问题,因为自己一直是coder界里的渣渣.所以就须要恶补一下. 2016年4月2号题目例如以下. import java.util.logging.Handler; /** * ...

  7. javascript - = 、==、===、!=、!==、&&、||、!

     = .==.===.!=.!==.&&.||.! /* * = .==.===.!=.!==.&&.||.! */ var a = 1; var b = 1; var ...

  8. 使用CopyTable工具方法在线备份HBase表

    CopyTable is a simple Apache HBase utility that, unsurprisingly, can be used for copying individual ...

  9. iOS网络监控— BMReachability

    1. What's BMReachability? BMReachability是基于AFNetworking的Reachability类封装的监听网络状态变化的组件. 它在AF提供的无网络/wifi ...

  10. LOL 战斗力查询

    LOL(英雄联盟) 战斗力查询 接口:http://lolbox.duowan.com/playerDetail.php?serverName=serverName&playerName=pl ...