简单的jQuery+TimeAxis.js时间轴插件

来源:https://www.sucaihuo.com/js/4923.html 2019-11-09 11:25浏览(464) 收藏

简单的jQuery+TimeAxis.js时间轴插件,时间轴数据直接调用数组数据,支持自适应浏览器宽度。
简单的jQuery+TimeAxis.js时间轴插件
分类:日期时间 > 时间轴 难易:初级
查看演示 下载资源: 9 下载资源 下载积分: 20 积分

js代码

<script src="./js/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="./js/timeAxis_new.js"></script>
	<script type="text/javascript">
		var oTimeAxiosFun = null;
		$(function () {
			var timeList = [
				{name:'第一次',time:'2019-11-01'},
				{name:'第二次',time:'2019-11-02'},
				{name:'第三次',time:'2019-11-03'},
				{name:'第四次',time:'2019-11-04'},
				{name:'第五次',time:'2019-11-05'},
				{name:'第六次',time:'2019-11-06'},
				{name:'第七次',time:'2019-11-07'},
				{name:'第八次',time:'2019-11-08'},
				{name:'第九次',time:'2019-11-09'},
			];//参数列表
			var param = {
				data: timeList,
				id: 'cxTime',
				width: '150px',
				index: 0
			}
			oTimeAxiosFun = new oTimeAxios(param);
		})
	</script>
评论0
头像

系统已开启自动识别垃圾评论机制,识别到的自动封号,下载出错或者资源有问题请联系全栈客服QQ 1915635791

1 2