Bootstrap如何实现滑动轮播 35
<divid="carousel-example-generic"class="carouselslide"data-ride="carousel"><olclass="...
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
...
</ol>
<div class="carousel-inner" role="listbox">
...
</div>
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<script type="text/javascript">
$("#carousel-example-generic").swipeleft(function() {
$(this).carousel('next');
});
$("#carousel-example-generic").swiperight(function() {
$(this).carousel('prev');
});
</script>
引用的JS包括:jquery.mobile-1.3.2.min.js,bootstrap.min.js,jquery-1.11.0.min.js
不考虑手势滑动轮播的情况下,代码运行是没有任何问题的。另,上述网页是用Dreamweaver Cs6做的 展开
<ol class="carousel-indicators">
...
</ol>
<div class="carousel-inner" role="listbox">
...
</div>
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<script type="text/javascript">
$("#carousel-example-generic").swipeleft(function() {
$(this).carousel('next');
});
$("#carousel-example-generic").swiperight(function() {
$(this).carousel('prev');
});
</script>
引用的JS包括:jquery.mobile-1.3.2.min.js,bootstrap.min.js,jquery-1.11.0.min.js
不考虑手势滑动轮播的情况下,代码运行是没有任何问题的。另,上述网页是用Dreamweaver Cs6做的 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励10(财富值+成长值)+提问者悬赏35(财富值+成长值)
2个回答
2015-07-20
展开全部
public void actionPerformed(ActionEvent e)
{
if(e.getSource()==xinjian)
{
text.setText("");
}
if(e.getSource()==dakai)
{
openFD.show();
String s;
{
if(e.getSource()==xinjian)
{
text.setText("");
}
if(e.getSource()==dakai)
{
openFD.show();
String s;
追问
哥哥,不懂啊
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
2015-07-21
展开全部
js组件
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询