PageSourceSearch

https://www.ed-inter.co.jp/wp-content/themes/nano_tcd065/assets/js/jscript.js?ver=7.1.2

js ed-inter.co.jp collected 2026-10-04 12:18:30 UTC 1,913 bytes, 71 lines download raw bytes

1jQuery(document).ready(function($){
2
3function mediaQueryClass(width) {
4 if (width > 1200) { //PC
5
6  // lang button
7   $("#header_lang_button").css("display","none");
8   $("#header_lang_button").toggleClass("active",false);
9
10   $("#header_lang > ul").show();
11   $("#header_lang > ul ul").hide();
12
13   $("#header_lang.type2 li").hover(function(){
14     $(">ul:not(:animated)",this).slideDown("fast");
15     $(this).addClass("active");
16   }, function(){
17     $(">ul",this).slideUp("fast");
18     $(this).removeClass("active");
19   });
20
21 } else { //smart phone
22
23   // Language link
24   var header_lang_button = $('#header_lang_button');
25   header_lang_button.css("display","block");
26
27   $("#header_lang li").off('hover');
28
29   if( header_lang_button.hasClass("active") ){
30     $("#header_lang > ul").css("display","block");
31     $("#header_lang ul ul").css("display","block");
32   } else {
33     $("#header_lang > ul").css("display","none");
34     $("#header_lang ul ul").css("display","block");
35   }
36
37   header_lang_button.on('click', function(e) {
38      if($(this).hasClass("active")) {
39        $(this).removeClass("active");
40        $(this).next().find('>ul:not(:animated)').slideUp("fast");
41        return false;
42      } else {
43        $(this).addClass("active");
44        $(this).next().find('>ul:not(:animated)').slideDown("fast");
45        return false;
46      };
47   });
48
49 };
50};
51
52function viewport() {
53    var e = window, a = 'inner';
54    if (!('innerWidth' in window )) {
55        a = 'client';
56        e = document.documentElement || document.body;
57    }
58    return { width : e[ a+'Width' ] , height : e[ a+'Height' ] };
59}
60
61var ww = viewport().width;
62
63mediaQueryClass(ww);
64
65$(window).bind("resize orientationchange", function() {
66  var ww = viewport().width;
67  var parentHeight = $("#page_header").height();
68  mediaQueryClass(ww, parentHeight);
69})
70
71});

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.