1jQuery(function($) { 2 $('#jobs').lookingfor({ 3 input: $('input[name="query"]'), 4 items: 'div.post-item' 5 }); 6}); 7 8jQuery(function($) { 9 $('.flex-columns').lookingfor({ 10 input: $('input[name="query"]'), 11 items: 'div.post-item' 12 }); 13}); 14 15 16jQuery(document).ready(function($){ 17 18 // Menu 19 20 $('#menu-button').click(function() { 21 $('#nav').slideToggle(); 22 $(this).toggleClass('menu-open'); 23 }); 24 25 26 27 28 $('#nav li.menu-item-has-children').click(function() { 29 $('#nav li').not(this).removeClass('current_page_item'); 30 $(this).toggleClass('current_page_item'); 31 var section = $(this).data('megamenu'); 32 $('.mega-menu:not(#' + section).hide(); 33 $('.mega-menu#' + section).slideToggle(); 34}); 35 36 37 $('#menu-item-146').click(function() { 38 $('.mega-menu:not(#groups-menu)').hide(); 39 $('#groups-menu').slideToggle(); 40 $(this).toggleClass('current_page_item'); 41 }); 42 43 // Slider 44 45 $('.news-slider').slick({ 46 slidesToShow: 2, 47 infinite: false, 48 prevArrow: '<button type="button" class="slick-prev"></button>', 49 nextArrow: '<button type="button" class="slick-next"></button>', 50 appendArrows: '#latest-news .arrows-container', 51 responsive: [ 52 { 53 breakpoint: 1200, 54 settings: { 55 slidesToShow: 1, 56 } 57 }, 58 ] 59 }); 60 61 $('.dates-slider').slick({ 62 slidesToShow: 3, 63 infinite: false, 64 prevArrow: '<button type="button" class="slick-prev"></button>', 65 nextArrow: '<button type="button" class="slick-next"></button>', 66 appendArrows: '#key-dates .arrows-container', 67 responsive: [ 68 { 69 breakpoint: 1024, 70 settings: { 71 slidesToShow: 2, 72 } 73 }, 74 { 75 breakpoint: 640, 76 settings: { 77 slidesToShow: 1, 78 slidesToScroll: 1 79 } 80 } 81 ] 82 }); 83 84 $('.activities-slider').slick({ 85 slidesToShow: 3, 86 infinite: false, 87 prevArrow: '<button type="button" class="slick-prev"></button>', 88 nextArrow: '<button type="button" class="slick-next"></button>', 89 appendArrows: '#activities .arrows-container', 90 responsive: [ 91 { 92 breakpoint: 1024, 93 settings: { 94 slidesToShow: 2, 95 } 96 }, 97 { 98 breakpoint: 640, 99 settings: { 100 slidesToShow: 1, 101 slidesToScroll: 1 102 } 103 } 104 ] 105 }); 106 107 $('.groups-slider').slick({ 108 slidesToShow: 3, 109 infinite: false, 110 prevArrow: '<button type="button" class="slick-prev"></button>', 111 nextArrow: '<button type="button" class="slick-next"></button>', 112 appendArrows: '#groups-related .arrows-container', 113 responsive: [ 114 { 115 breakpoint: 1024, 116 settings: { 117 slidesToShow: 2, 118 } 119 }, 120 { 121 breakpoint: 640, 122 settings: { 123 slidesToShow: 1, 124 slidesToScroll: 1 125 } 126 } 127 ] 128 }); 129 130 // Tabs 131 132 $('.members-tabs li').click(function() { 133 $('.members-tabs li').removeClass('active'); 134 $(this).addClass('active'); 135 var section = $(this).data('section'); 136 $('.tabs-wrapper .flex-columns').removeClass('active'); 137 $('.tabs-wrapper .flex-columns#' + section).addClass('active'); 138}); 139 140$('#filters li').click(function() { 141 $('#filters li').removeClass('active'); 142 $(this).addClass('active'); 143 var tab = $(this).data('tab'); 144 $('.post-item').hide(); 145 $('.post-item.' + tab).show(); 146 $('.cat-description').hide(); 147 $('.cat-description#cat-' + tab).show(); 148}); 149 150// Accordion 151 152$('.accordion').click(function() { 153 $(this).find('.accordion-content').slideToggle(); 154 $(this).toggleClass('open'); 155 }); 156 $('.accordion').on('click', 'a', function(e) { 157 e.stopPropogation(); 158 window.location.href = this.href; 159}); 160 161// Board Member Modal 162 163$('.member-link').click(function() { 164 var modal = $(this).data('modal'); 165 $('.modal-wrapper').hide(); 166 $('.modal-wrapper#' + modal).fadeIn(); 167}); 168 169$('.modal-close').click(function() { 170 $('.modal-wrapper').hide(); 171}); 172 173$('.modal-content').click(function(e) { 174 e.stopPropagation(); 175}); 176 177$('.modal-wrapper').click(function() { 178 $('.modal-wrapper').hide(); 179}); 180 181});
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.