1// These are the scripts that make the Homepage work 2 var $j = jQuery.noConflict(); 3 (function($) { 4 $(function() { 5 $(document).ready(function() { 6 7 // Mobile menu script 8 $('#menu-icon').click(function(e){ 9 e.preventDefault(); 10 $('#mobile-nav').slideToggle(400); 11 // Change this boolean number to adjust animation speed 12 $(this).toggleClass('open'); 13 }); 14 15 16// Mobile menu sub menu 17 $('#menu-item-116 > a, #menu-item-117 > a, #menu-item-911 > a, #menu-item-912 > a').click(function(e){ 18 e.preventDefault(); 19 if ($(this).next('ul').hasClass("open")) { 20 $('.sub-menu').removeClass('open'); 21 } else { 22 $('.sub-menu').removeClass('open'); 23 $(this).next('ul').slideToggle(400); 24 } 25 }); 26 27 28 // Blog dropdown script 29 $('#blog_category_open').click(function(e){ 30 e.preventDefault(); 31 $('#menu-blog-categories').slideToggle(400); 32 // Change this boolean number to adjust animation speed 33 $(this).toggleClass('open'); 34 }); 35 36 37 38 }); 39 }); 40 })(jQuery);
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.