PageSourceSearch

https://www.jinkoushiba-senmon.com/docs/wp-content/themes/jinkoshiba/js/functions.js?ver=20150330

js jinkoushiba-senmon.com collected 2026-10-06 11:21:41 UTC 1,999 bytes, 9 lines download raw bytes

1(function($){var body=$('body'),_window=$(window);(function(){var nav=$('#primary-navigation'),button,menu;if(!nav){return;}
2button=nav.find('.menu-toggle');if(!button){return;}
3menu=nav.find('.nav-menu');if(!menu||!menu.children().length){button.hide();return;}
4$('.menu-toggle').on('click.twentyfourteen',function(){nav.toggleClass('toggled-on');});})();_window.on('hashchange.twentyfourteen',function(){var hash=location.hash.substring(1),element;if(!hash){return;}
5element=document.getElementById(hash);if(element){if(!/^(?:a|select|input|button|textarea)$/i.test(element.tagName)){element.tabIndex=-1;}
6element.focus();window.scrollBy(0,-80);}});$(function(){$('.search-toggle').on('click.twentyfourteen',function(event){var that=$(this),wrapper=$('.search-box-wrapper');that.toggleClass('active');wrapper.toggleClass('hide');if(that.is('.active')||$('.search-toggle .screen-reader-text')[0]===event.target){wrapper.find('.search-field').focus();}});if(_window.width()>781){var mastheadHeight=$('#masthead').height(),toolbarOffset,mastheadOffset;if(mastheadHeight>48){body.removeClass('masthead-fixed');}
7if(body.is('.header-image')){toolbarOffset=body.is('.admin-bar')?$('#wpadminbar').height():0;mastheadOffset=$('#masthead').offset().top-toolbarOffset;_window.on('scroll.twentyfourteen',function(){if(_window.scrollTop()>mastheadOffset&&mastheadHeight<49){body.addClass('masthead-fixed');}else{body.removeClass('masthead-fixed');}});}}
8$('.primary-navigation, .secondary-navigation').find('a').on('focus.twentyfourteen blur.twentyfourteen',function(){$(this).parents().toggleClass('focus');});});_window.load(function(){if($.isFunction($.fn.masonry)){$('#footer-sidebar').masonry({itemSelector:'.widget',columnWidth:function(containerWidth){return containerWidth/4;},gutterWidth:0,isResizable:true,isRTL:$('body').is('.rtl')});}
9if(body.is('.slider')){$('.featured-content').featuredslider({selector:'.featured-content-inner > article',controlsContainer:'.featured-content'});}});})(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.