jQuery仿简书网图片切换代码

jQuery仿简书网图片切换代码
下载次数:1 文件大小:266.75KB 所需积分:0 QQ联系购买积分:3331653644(1元=10积分)
window.onload = function(){
		var banner = new Carousel();
		//图片地址数组。不要少于三张
		var imgSrcDate = ["img/a1.png","img/a2.png","img/a3.png","img/a4.png","img/a5.png","img/a6.png"];
		banner.init({
			container:"#banner",
			datas:imgSrcDate,
			autoplaySpeed:5000,
			autoplay:false
		});
	}

 

0 条评论