首页 / 更多教程 / jcarousellite的使用方法
jcarousellite的使用方法
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了jcarousellite的使用方法,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1687字,纯文字阅读大概需要3分钟。
内容图文
![jcarousellite的使用方法](/upload/InfoBanner/zyjiaocheng/999/001b2e56bb1243079db019ff4040bb26.jpg)
jcarousellite的使用方法
代码
#prev1
{
width: 17px;
height: 58px;
float: left;
text-indent: -5000px;
background: url(../Images/Index/companylogo/index_ZLHZS_left.jpg) no-repeat;
cursor: pointer;
overflow: hidden;
margin:0px;
padding:0px;
}
#next1
{
width: 18px;
height: 58px;
text-indent: -5000px;
background: url(../Images/Index/companylogo/index_ZLHZS_right.jpg) no-repeat;
cursor: pointer;
overflow: hidden;
margin-left:1px;
padding:0px;
float:left;
}
#box1
{
width:944px;
float: left;
margin:0px;
height:53px;
overflow:hidden;
}
#box1 ul li
{
width: 117px;
float: left;
height:51px;
overflow:hidden;
text-align: center;
border-right:1px #ccc dashed;
}
#box1 ul li a
{
display: block;
color: #666;
}
#box1 ul li a:hover
{
background: #d1d1d1;
color: #000;
}
#box1 ul li a img
{
width: 112px;
height: 51px;
}
上一张 下一张
代码
<script type="text/javascript">
$(document).ready(function() {
$("#box1").jCarouselLite({
btnPrev: "#prev1",
btnNext: "#next1",
auto: 4000, //图片停留时间
scroll: 1, //每次滚动覆盖的图片个数
speed: 800, //设置速度,0是不动。其次就是数字越大 ,移动越慢。
vertical: false, //横向(true),竖向(false)
visible: 8, //显示的数量
circular: true, //是否循环
play:false//停止自动播放,true则是自动播放
});
});
</script>
内容总结
以上是互联网集市为您收集整理的jcarousellite的使用方法全部内容,希望文章能够帮你解决jcarousellite的使用方法所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。