【文件属性】:
文件名称:jQuery的可伸缩时间轴代码timeline插件.zip
文件大小:38KB
文件格式:ZIP
更新时间:2022-07-31 03:16:39
js特效-jQuery的可伸缩时间轴代码timeline插件
timeline插件是一款非常简洁实用的jQuery时间轴插件,jQuery可伸缩时间轴代码。
js代码
[removed][removed]
[removed]
$(function(){
//隐藏所有子栏目(除第一个栏目外)
$(".year:not(:first)").find(".month").hide();
//点击大栏目
$(".year>li").click(function(){
$("li.active",$(this).parent()).removeClass("active");
$(this).addClass("active");
$("ul>li:first",this).addClass("active");
});
$(".month>li").click(function(){
var $ul=$(this).parent();
$ul.find(".active").removeClass("active");
$(this).addClass("active");
return false;
});
});
[removed]
【文件预览】:
jQuery可伸缩时间轴代码timeline插件
----css()
--------timeline.css(1KB)
----php中文网下载站.url(114B)
----php中文网免费下载站.txt(219B)
----img()
--------timeline-bg.png(2KB)
--------timeline-line.png(150B)
----js()
--------jquery-1.8.1.min.js(91KB)
----index.html(9KB)