This commit is contained in:
2020-03-21 11:17:53 +08:00
parent 53ef1333d3
commit 766c1e2800
771 changed files with 162086 additions and 2 deletions

View File

@@ -0,0 +1 @@
jQuery(document).ready(function($){var $timeline_block=$('.cd-timeline-block');$timeline_block.each(function(){if($(this).offset().top>$(window).scrollTop()+$(window).height()*0.75){$(this).find('.cd-timeline-img, .cd-timeline-content').addClass('is-hidden');}});$(window).on('scroll',function(){$timeline_block.each(function(){if($(this).offset().top<=$(window).scrollTop()+$(window).height()*0.75&&$(this).find('.cd-timeline-img').hasClass('is-hidden')){$(this).find('.cd-timeline-img, .cd-timeline-content').removeClass('is-hidden').addClass('bounce-in');}});});});