1/** 2 * Suidobashi JavaScript 3 * 4 * The main JavaScript file for Suidobashi. 5 */ 6( function($) { 7 8 /* 9 * Mobile Main Menu. 10 */ 11 $('#site-nav').hide(); 12 $('#mobile-menu-toggle').on( 'click', function () { 13 $('#site-nav').slideToggle('600'); 14 $('#site-nav').toggleClass('show-mobile-search'); 15 }); 16 17 /* 18 * Searchform on Desktop layout. 19 */ 20 $('.search-toggle').on( 'click', function () { 21 $('body').toggleClass('show-desktop-search'); 22 }); 23 24 /* 25 * Scalable Videos via FitVids. 26 */ 27 $('#primary').fitVids(); 28 29 /* 30 * Fade content in, if page loaded. 31 */ 32 $( window ).load( function() { 33 34 // Show content 35 $( '#spinner' ).fadeOut( 250, function() { 36 $( this ).remove(); 37 } ); 38 $( '#primary' ).delay( 500 ).animate( { 39 'opacity': 1 40 }, 400 ); 41 $( '.intro-slogan' ).delay( 500 ).animate( { 42 'opacity': 1 43 }, 400 ); 44 45 }); 46 47} )(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.