PageSourceSearch

https://zukakyo.com/history.js

js zukakyo.com collected 2026-10-08 07:15:01 UTC 1,034 bytes, 37 lines download raw bytes

1
2
3//ヒストリーナビを表示・隠す
4$(document).ready(function() {
5  $("#historyNav").hide();
6  $(window).on("scroll", function() {
7    if ($(this).scrollTop() > 400) {
8      $("#historyNav").fadeIn("fast");
9    } else {
10      $("#historyNav").fadeOut("fast");
11    }
12  });
13});
14
15//年クリックでナビ隠す
16$(function() {
17    $(".year").click(function() {
18        $("#historyNav-input").prop('checked', false);
19    });
20});
21
22//アコーディオンカーテン
23$(function() {
24  $(".accordion").each(function() {
25    var accordion = $(this);
26    $(this).find(".switch").click(function() {
27      //$("> .switch", this).click(function() { // 上段の別の書き方
28      var targetContentWrap = $(this).next(".contentWrap");
29      if (targetContentWrap.css("display") === "none") {
30        accordion.find(".contentWrap").slideUp();
31        accordion.find(".switch.openedSwitch").removeClass("openedSwitch");
32      }
33      targetContentWrap.slideToggle();
34      $(this).toggleClass("openedSwitch");
35    });
36  });
37})(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.