谁帮我解释一下jquery 图片滚动代码
RT:<scriptsrc="jquery.js"type="text/javascript"></script><scriptsrc="jquery.jcarousel...
RT:
<script src="jquery.js" type="text/javascript"></script>
<script src="jquery.jcarousellite.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".jCarouselLite").jCarouselLite({
btnNext: ".next",
btnPrev: ".prev",
auto: 2000,
scroll: 3,
speed: 1000
});
});
</script>
<div class="jCarouselLite">
<ul>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
</ul>
</div>
我想实现文字的点击然后让他下面的子项目隐藏收缩的效果。。。。
jQuery的方法。。。详细点新手#11 展开
<script src="jquery.js" type="text/javascript"></script>
<script src="jquery.jcarousellite.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".jCarouselLite").jCarouselLite({
btnNext: ".next",
btnPrev: ".prev",
auto: 2000,
scroll: 3,
speed: 1000
});
});
</script>
<div class="jCarouselLite">
<ul>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
<li><img src="img/saefhgae4t.jpg" alt="" width="82" height="62"></li>
</ul>
</div>
我想实现文字的点击然后让他下面的子项目隐藏收缩的效果。。。。
jQuery的方法。。。详细点新手#11 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询