我的家乡-景点篇
$(function () {
$('#myCarousel').carousel({
interval: 2000,
})
$("#myCarousel li").click(function () {
var index=$(this).attr("data-slide-to")
$('#myCarousel').carousel(parseInt(index))
})
})
一键复制
编辑
Web IDE
原始数据
按行查看
历史