1/* Custom js for Bartos */ 2 3(function($) { 4 $(document).ready(function(){ 5 6 $('.hero-slider').slick({ 7 autoplay: true, 8 dots: false, 9 infinte: true, 10 fade: true, 11 arrows: false 12 }); 13 $('.hero-slider2').slick({ 14 autoplay: true, 15 dots: true, 16 infinte: true, 17 fade: true, 18 arrows: true 19 }); 20 21 $(".tile").hover( 22 function(){ 23 $(this).addClass("hover"); 24 $(this).children("h3").animate({paddingBottom: "+=10px",backgroundColor: "rgba(99, 173, 88, .8)"}); 25 }, function() { 26 $(this).removeClass("hover"); 27 $(this).children("h3").animate({paddingBottom: "-=10px",backgroundColor: "rgba(51, 0, 231, .8)"}); 28 } 29 ); 30 31 $(".recentnews").slick({ 32 arrows: false, 33 dots: true, 34 infinite: true, 35 slidesToShow: 1, 36 slidesToScroll: 1 37 }); 38 $(".stats").slick({ 39 arrows: true, 40 prevArrow: '<button type="button" class="slick-prev">Previous</button>', 41 nextArrow: '<button type="button" class="slick-next">Next</button>', 42 dots: true, 43 infinite: true, 44 slidesToShow: 4, 45 slidesToScroll: 1, 46 autoplay: true, 47 autoplaySpeed: 5000, 48 responsive: [ 49 { 50 breakpoint: 960, 51 settings: { 52 slidesToShow: 3, 53 slidesToScroll: 1 54 } 55 }, 56 { 57 breakpoint: 415, 58 settings: { 59 slidesToShow: 1, 60 slidesToScroll: 1 61 } 62 } 63 // You can unslick at a given breakpoint now by adding: 64 // settings: "unslick" 65 // instead of a settings object 66 ] 67 }); 68 69 $(".header-search .fa-search").toggle( 70 function() { 71 $(this).removeClass("fa-search").addClass("fa-times"); 72 $(this).next(".search-form").show(); 73 }, function() { 74 $(this).removeClass("fa-times").addClass("fa-search"); 75 $(this).next(".search-form").hide(); 76 } 77 ); 78 $(function() { 79 $('a.ascroll[href*="#"]:not([href="#"])').click(function() { 80 if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') && location.hostname == this.hostname) { 81 var target = $(this.hash); 82 target = target.length ? target : $('[name=' + this.hash.slice(1) +']'); 83 if (target.length) { 84 $('html, body').animate({ 85 scrollTop: target.offset().top + (-150) 86 }, 1000); 87 return false; 88 } 89 } 90 }); 91 }); 92 93 }); 94})(jQuery); 95 96function getOffset() { 97 var elem = jQuery('.section-content'); 98 var num = ((jQuery(window).width() - 1060)/2); 99 elem.animate({marginLeft: -num,marginRight: -num},'fast'); 100} 101 102if(jQuery(window).width() >= 1060){ 103 jQuery(document).ready(function() { 104 getOffset(); 105 }); 106 jQuery( window ).resize(function() { 107 getOffset(); 108 }); 109};
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.