基于 jQuery 的垂直时间轴实现
$(function(){
$().timelinr({
orientation: 'vertical', // 设置时间轴方向为垂直
issuesSpeed: 300, // 时间内容上下轮换速度
datesSpeed: 100, // 时间上下轮换速度
issuesSpeed: 500, // 上下滚动速度
arrowKeys: 'true', // 允许使用方向键控制
autoPlay: 'true', // 开启自动滚动
autoPlayDirection: 'forward', // 自动滚动方向为向前
startAt: 3 // 从第3个元素开始
})
});
614.83KB
文件大小:
评论区