Scalable timeline code timeline plugin for jQuery
js code
<script type="text/javascript" src="js/jquery-1.8.1.min.js"></script>
<script type="text/javascript">
$(function(){
//Hide all sub-columns (except the first column)
$(".year:not(:first)").find(".month").hide();
//Click on the large column
$(".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; });
});
</script>
All resources on this site are contributed by netizens or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this site are for learning reference only. Please do not use them for commercial purposes. Otherwise, you will be responsible for all consequences! If there is any infringement, please contact us to delete it. Contact information: admin@php.cn
Related Article
16 May 2016
This article mainly introduces the jQuery code implementation development process timeline special effects code, with left and right arrows, digital timeline tab switching special effects, friends in need can refer to it.
16 May 2016
jquery.timelinr.js is a jQuery timeline plug-in with very cool effects. Below, the editor of Script House will introduce to you the jQuery Timelinr plug-in to implement vertical and horizontal timelines. Friends who need it can refer to it.
25 Jun 2018
This article mainly introduces the jQuery plug-in Timelinr to achieve timeline effects. It has certain reference value. Now I share it with you. Friends in need can refer to it.
07 Dec 2017
AngularJS is a JavaScript framework. It is a library written in JavaScript. It can be added to HTML pages via the <script> tag. HTML is extended through directives and data is bound to HTML through expressions. It is published as a JavaScript file and can be added to web pages through the script tag. This article mainly introduces the sample code of angularjs to achieve timeline effect.
15 May 2018
This article mainly introduces the sample code for the most basic timeline implementation in front-end css, and shares it with you as a reference. I hope it can help you.
16 May 2016
We often see a lot of vertical timelines used to record the progress of events, and a friend asked me to share a horizontal timeline. In fact, the difficulty with the horizontal timeline is that it adapts to the screen size. So what I want to share with you today is a horizontal timeline that supports responsiveness and touch screen gesture sliding.
26 Apr 2023
In front-end development, we often need to use jQuery to handle some interactive effects and animation effects, such as animation effects when the mouse is hovering, animation effects when the page is loading, etc. But sometimes we need to set a delay time so that these effects can be better expressed. So, how does jQuery set a delay? This article will introduce this issue in detail. 1. Delay method in jQuery In jQuery, delay effect can be easily achieved by using the delay() method. The delay() method can be used
16 May 2016
jQuery UI CSS Framework is a style framework in jQuery UI. You can use jQuery Theme roller to generate the css style effects you want. We can use some frameworks of jQuery UI to develop plug-ins based on jQuery UI CSS Framework effects.
23 May 2023
With the popularity of the Internet, the application of typing effects is becoming more and more widespread, and jquery typing effects have become the first choice of many website developers. However, in the process of realizing this special effect, detailed issues often affect the user experience, such as the problem of deletion of typing special effects. This article will introduce how to use jquery typing effects to stop deletion and improve the user's browsing experience. The implementation of jquery typing effects can use ready-made plug-ins, such as typed.js and jQuery.Typewriter. These plug-ins are based on jquery
Hot Tools
jQuery2019 Valentine's Day Confession Fireworks Animation Special Effects
A very popular jQuery Valentine's Day confession fireworks animation special effect on Douyin, suitable for programmers and technical geeks to express their love to the girl they love. No matter you choose to be willing or not, you have to agree in the end.
layui responsive animated login interface template
layui responsive animated login interface template
520 Valentine's Day confession web animation special effects
jQuery Valentine's Day Confession Animation, 520 Confession Background Animation
Cool system login page
Cool system login page
HTML5 tape music player-CASSETTE PLAYER
HTML5 tape music player-CASSETTE PLAYER