1$(document).ready(function(){ 2 3 4 $(window).scroll(function(){ 5 6 var $height = $(window).scrollTop(); 7 8 if($height > 50) { 9 $('.fixed_bottom').show(); 10 } else { 11 $('.fixed_bottom').hide(); 12 } 13 if($height > 200) { 14 $('.header').addClass('scroll'); 15 } else { 16 $('.header').removeClass('scroll'); 17 } 18 }); 19 $(".menu-trigger").on("click",function(){ 20 $(this).toggleClass("active"); 21 $(".g-nav").slideToggle(); 22 }); 23 $(".g-nav ul li a").on("click",function(){ 24 $(".menu-trigger").toggleClass("active"); 25 $(".g-nav").slideToggle(); 26 }); 27 $(".dropdown").on("click",function(){ 28 $(this).toggleClass("open"); 29 $(this).children('ul').slideToggle(); 30 }); 31 $(".faq_one").on("click",function(){ 32 $(this).toggleClass("open"); 33 $(this).children('.ans').slideToggle(); 34 }); 35 $('.fv_slider').infiniteslide({ 36 pauseonhover: false, 37 speed: 20, 38 clone: 6 39 }); 40 $('.slider').infiniteslide({ 41 pauseonhover: false, 42 speed: 20, 43 clone: 8 44 }); 45 $('.fv_left').slick({ 46 dots: false, 47 arrows: false, 48 autoplay: true, 49 infinite: true, 50 speed: 1000, 51 fade: true, 52 cssEase: 'linear' 53 }); 54 $('.fv_right').slick({ 55 dots: false, 56 arrows: false, 57 autoplay: true, 58 infinite: true, 59 speed: 1000, 60 fade: true, 61 cssEase: 'linear' 62 }); 63 64 $(function(){ 65 function onScrollInit( items, trigger ) { 66 items.each( function() { 67 var osElement = $(this), 68 osAnimationClass = osElement.attr('data-os-animation'), 69 osAnimationDelay = osElement.attr('data-os-animation-delay'); 70 71 osElement.css({ 72 '-webkit-animation-delay': osAnimationDelay, 73 '-moz-animation-delay': osAnimationDelay, 74 'animation-delay': osAnimationDelay 75 }); 76 77 var osTrigger = ( trigger ) ? trigger : osElement; 78 79 osTrigger.waypoint(function() { 80 osElement.addClass('animated').addClass(osAnimationClass); 81 },{ 82 triggerOnce: true, 83 offset: '80%' 84 }); 85 }); 86 } 87 88 onScrollInit( $('.os-animation') ); 89 onScrollInit( $('.staggered-animation'), $('.staggered-animation-container') ); 90 }); 91 //ãã¼ã¸å ãªã³ã¯ 92 $('a[href^=#]').click(function() { 93 var speed = 1000; 94 var href= $(this).attr("href"); 95 var target = $(href == "#" || href == "" ? 'html' : href); 96 var position = target.offset().top; 97 $('body,html').animate({scrollTop:position}, speed, 'swing'); 98 return false; 99 }); 100});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.