1jQuery(document).ready(function($) { 2 3 4 5 // Force equal heights on some UI elements in rows 6 7 $('.js-height').matchHeight({ 8 byRow: true, 9 property: 'height' 10 }); 11 12 13 // Responsive menu 14 15 $('#main-nav').meanmenu({ 16 meanScreenWidth: "767", 17 meanMenuClose: "<i class='fa fa-times'></i>", 18 meanRemoveAttrs: true 19 }); 20 21 22 // Simple slider 23 24 $('.rslides').responsiveSlides({ 25 speed: 750, 26 timeout: 7000 27 }); 28 29 30 // Responsive videos 31 32 $('#page-content').fitVids(); 33 34/* 35 var $grid = $('#grid').imagesLoaded( function() { 36 $grid.masonry({ 37 itemSelector: '.grid-item', 38 columnWidth: 200, 39 percentPosition: true, 40 "gutter": 0, 41 isFitWidth: true 42 }); 43 }); 44*/ 45 46 47 // Search Type Toggle 48 49 $('#advanced-search').hide(); 50 $('#basic-search-select').click(function () { 51 $('#advanced-search').hide('fast'); 52 $('#basic-search').show('fast'); 53 }); 54 $('#advanced-search-select').click(function () { 55 $('#basic-search').hide('fast'); 56 $('#advanced-search').show('fast'); 57 }); 58 59 60 // Accordion Module http://codepen.io/thirdtiu/pen/uDyxr 61 62 var allPanels = $('.accordion > dd').hide(); 63 var allQuestions = $('.accordion > dt'); 64 65 $('.accordion > dt > a').click(function() { 66 $this = $(this); 67 $parent = $this.parent(); 68 $target = $this.parent().next(); 69 70 if($target.hasClass('active')){ 71 $parent.removeClass('open'); 72 $target.removeClass('active').slideUp(); 73 }else{ 74 allPanels.removeClass('active').slideUp(); 75 allQuestions.removeClass('open'); 76 $parent.addClass('open'); 77 $target.addClass('active').slideDown(); 78 } 79 return false; 80 }); 81 82 // Secondary menu 83 $('.page-section-menu-dropdown').click(function () { 84 $(this).toggleClass('is-toggled'); 85 $('.page-section-menu-inner').toggleClass('is-toggled'); 86 }); 87 88}); 89 90
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.