1( function( $ ) { 2 3 $(document).ready(function($){ 4 5 $('#main-nav').meanmenu({ 6 meanScreenWidth: "1050", 7 meanMenuContainer: ".navigation-wrap", 8 meanRevealPosition: "left", 9 meanRevealPositionDistance: "6px", 10 }); 11 12 // Go to top. 13 var $scroll_obj = $( '#btn-scrollup' ); 14 15 $( window ).scroll(function(){ 16 if ( $( this ).scrollTop() > 100 ) { 17 $scroll_obj.fadeIn(); 18 } else { 19 $scroll_obj.fadeOut(); 20 } 21 }); 22 23 $scroll_obj.click(function(){ 24 $( 'html, body' ).animate( { scrollTop: 0 }, 600 ); 25 return false; 26 }); 27 28 /* show/hide search form */ 29 jQuery(".search-box").hide(); 30 31 jQuery(".search-btn").click(function(e) { 32 33 var parent_element = $(this).parent(); 34 35 parent_element.children('.search-box').slideToggle('slow'); 36 37 parent_element.toggleClass('open'); 38 39 e.preventDefault(); 40 41 }); 42 43 }); 44 45} )( 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.