1jQuery(document).ready(function($){ 2 3 /* MEan Menu */ 4 jQuery('#main-nav').meanmenu({ 5 meanMenuContainer: '.main-navigation-holder', 6 meanScreenWidth:"767" 7 }); 8 9 /* slick slider */ 10 $('.main-blog-slider').slick(); 11 12 $('.main-slider-nav').slick(); 13 14 /* show/hide search form */ 15 jQuery(".search-box").hide(); 16 17 jQuery(".search-btn").click(function(e) { 18 19 var parent_element = $(this).parent(); 20 21 parent_element.children('.search-box').slideToggle('slow'); 22 23 parent_element.toggleClass('open'); 24 25 e.preventDefault(); 26 27 }); 28 29 /* Scroll to top */ 30 var $scroll_obj = $( '#btn-gotop' ); 31 32 $( window ).scroll(function(){ 33 34 if ( $( this ).scrollTop() > 100 ) { 35 36 $scroll_obj.fadeIn(); 37 38 } else { 39 40 $scroll_obj.fadeOut(); 41 42 } 43 44 }); 45 46 $scroll_obj.click(function(){ 47 48 $( 'html, body' ).animate( { scrollTop: 0 }, 600 ); 49 50 return false; 51 52 }); 53 54 /* Sticky sidebar */ 55 var main_ref = $("body"); 56 57 if( main_ref.hasClass( 'sticky-sidebar-enabled' ) ){ 58 59 $( '#primary, #sidebar-primary' ).theiaStickySidebar(); 60 61 } 62 63 //For news carousel 64 $('.carousel-enabled .grid-news-items').slick({ 65 dots: false, 66 infinite: true, 67 speed: 600, 68 slidesToShow: 3, 69 arrows:true, 70 autoplay:true, 71 slidesToScroll: 1, 72 responsive: [ 73 { 74 breakpoint: 1024, 75 settings: { 76 slidesToShow: 2, 77 slidesToScroll: 2, 78 infinite: true, 79 dots: false 80 } 81 }, 82 { 83 breakpoint: 481, 84 settings: { 85 slidesToShow: 1, 86 slidesToScroll: 1 87 } 88 } 89 ] 90 }); 91 92 //For breaking news carousel 93 $('#breaking-news').slick({ 94 autoplay: true, 95 autoplaySpeed: 5000, 96 dots: false, 97 slidesToShow: 1, 98 slidesToScroll: 1, 99 vertical: true, 100 arrows:true, 101 adaptiveHeight: true, 102 }); 103 104});
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.