1jQuery(function($){ 2 "use strict"; 3 4 jQuery('.search-box button').click(function(){ 5 jQuery(".search_outer").toggle(); 6 }); 7 8 jQuery('.search_inner input.search-field').on('keydown', function (e) { 9 if (jQuery("this:focus") && (e.which === 9)) { 10 e.preventDefault(); 11 jQuery(this).blur(); 12 jQuery('.search_inner button.search-submit').focus(); 13 } 14 }); 15 16 jQuery('.search_inner .search-submit').on('keydown', function (e) { 17 if (jQuery("this:focus") && (e.which === 9)) { 18 e.preventDefault(); 19 jQuery(this).blur(); 20 jQuery('button.search_btn').focus(); 21 } 22 }); 23}); 24 25function green_agro_landscaping_menu_open() { 26 jQuery(".sidenav").addClass('open'); 27} 28function green_agro_landscaping_menu_close() { 29 jQuery(".sidenav").removeClass('open'); 30} 31 32jQuery(function($){ 33 $(window).scroll(function() { 34 if ($(this).scrollTop() >= 50) { 35 $('#return-to-top').fadeIn(200); 36 } else { 37 $('#return-to-top').fadeOut(200); 38 } 39 }); 40 $('#return-to-top').click(function() { 41 $('body,html').animate({ 42 scrollTop : 0 43 }, 500); 44 }); 45}); 46 47jQuery(function($){ 48 $(window).load(function() { 49 $(".loader").delay(2000).fadeOut("slow"); 50 }) 51}); 52 53jQuery(window).scroll(function() { 54 var data_sticky = jQuery('.headerbox').attr('data-sticky'); 55 56 if (data_sticky == "true") { 57 if (jQuery(this).scrollTop() > 1){ 58 jQuery('.headerbox').addClass("stick_head"); 59 } else { 60 jQuery('.headerbox').removeClass("stick_head"); 61 } 62 } 63});
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.