PageSourceSearch

https://shintoshin-kodomo.com/style/js/navi.js?20261006130551

js shintoshin-kodomo.com collected 2026-10-06 04:06:04 UTC 1,242 bytes, 52 lines download raw bytes

1// JavaScript Document
2
3/* btnGlobalnavi */
4var quux,quuux;
5$(window).on('load scroll',function(){
6  quux = $(this).scrollTop();
7});
8
9$('#btnGlobal').on('click',function(){
10		$('#btnGlobal').toggleClass('active');
11				$('#spGrandMenu').slideToggle('slow');
12		
13		if($('#btnGlobal').hasClass('active')){
14		$('#mainContainer').css('position','fixed');
15  quuux = quux;
16  $('#mainContainer').css('top','-'+quux +'px');
17		
18    } else {
19					
20  $('#mainContainer').css('position','');
21  $('#mainContainer').css('top','');
22		$(window).scrollTop(quuux);
23    }
24});
25
26// sp menu
27var windowWidth = $(window).width();
28var windowSm = 767;
29if (windowWidth <= windowSm) {
30
31/* sp Only ------------------------------- */
32
33$("#navGlobal").each(function() {
34 var accordion = $(this);
35 $(this).find(".btn-navChild a").click(function() {
36 var targetContentWrap = $(this).next(".navChild");
37 if ( targetContentWrap.css("display") === "none" ) {
38 accordion.find(".navChild").slideUp();
39 accordion.find(".btn-navChild a.active").removeClass("active");
40 }
41 targetContentWrap.slideToggle();
42 $(this).toggleClass("active");
43 });
44});
45
46$(function(){
47  $('body').find('[data-sp-href]').each(function() {
48      $(this).attr('href', $(this).attr('data-sp-href'));
49  });
50});
51
52}

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.