1jQuery(document).ready(function($){ 2 $('.testimonial_container').slick({ 3 slidesToShow: 1, 4 slidesToScroll: 1, 5 autoplay: true, 6 autoplaySpeed: 5000, 7 speed: 1000, 8 adaptiveHeight: true 9 }); 10 11 $(".fancybox").fancybox(); 12 13 $window = $(window); 14 $window.scroll(function() { 15 $scroll_position = $window.scrollTop(); 16 if ($scroll_position > 300) { 17 $('.header-sticky').addClass('is-sticky'); 18 header_height = $('.header-sticky').innerHeight(); 19 $('body').css('padding-top' , header_height); 20 }else { 21 $('body').css('padding-top' , '0'); 22 $('.header-sticky').removeClass('is-sticky'); 23 } 24 }); 25 26 var $wpAdminBar = $('#wpadminbar'); 27 if ($wpAdminBar.length) { 28 $('.header-sticky').css('top', '32px') 29 } else { 30 $('.header-sticky').css('top', '0px') 31 } 32 33 $('.list_fade_content:not(:first-child)').hide(); 34 35 $('.list_fade_title').click(function() { 36 37 $('.list_fade_content').hide(); 38 $('.list_fade_content[data-link=' + $(this).data('link') + ']').fadeIn(500); 39 40 }); 41 42 $(".list_fade_title:first-child").addClass('active'); 43 $('.list_fade_title').click(function(e) { 44 e.preventDefault(); 45 $('.list_fade_title').removeClass('active'); 46 $(this).addClass('active'); 47 }); 48 49});
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.