1$(function(){ 2 $(".menuButton, .toggle-menu").on("click", function(){ 3 $(".mobile_menu > ul").slideToggle(300); 4 return false; 5 }); 6 7 $(".search_icon").on("click", function(){ 8 $(".search_bar").slideToggle(300); 9 return false; 10 }); 11 12 $('.header_menu > li').on('mouseover', function(){ 13 $(".header_menu > li > ul").hide(); 14 $(this).find(">ul").show(); 15 }).on("mouseout", function(){ 16 $(this).find(">ul").hide(); 17 }); 18 19 $('.header_menu > li > ul > li').on('mouseover', function(){ 20 $(".header_menu > li > ul > li > ul").hide(); 21 $(this).find(">ul").show(); 22 }).on("mouseout", function(){ 23 $(this).find(">ul").hide(); 24 }); 25 26 27 $(".mobile_menu > ul > li.has-children").append('<a href="#" class="toggle-sub"></a>'); 28 $(".mobile_menu > ul > li.has-children a.toggle-sub").on("click", function() { 29 $(this).parent().toggleClass("open"); 30 $(this).parent().find(">ul").slideToggle(300); 31 return false; 32 }); 33 34 /*Articles*/ 35 $(".search-category-container select").on("change", function(){ 36 var url = $(this).val(); // get selected value 37 if (url) { // require a URL 38 window.location = url; // redirect 39 } 40 return false; 41 }); 42 43 //If article p tag has an img, text align center the p tag 44 $('.article-description > p').each(function(){ 45 $(this).has(">img").css("text-align", "center"); 46 }); 47}); 48 49 50
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.