PageSourceSearch

https://www.hankyu.co.jp/app_lp/js/top.js

js hankyu.co.jp collected 2026-09-24 09:02:22 UTC 1,052 bytes, 24 lines download raw bytes

1// JavaScript Document
2
3$(function () {
4    $('.js-open').click(function () {
5        $("body").addClass("no_scroll"); // 背景固定させるクラス付与
6        var id = $(this).data('id'); // 何番目のキャプション(モーダルウィンドウ)か認識
7        $('#overlay, .modal-window[data-id="modal' + id + '"]').fadeIn();
8    });
9    // オーバーレイクリックでもモーダルを閉じるように
10    $('.js-close , #overlay').click(function () {
11        $("body").removeClass("no_scroll"); // 背景固定させるクラス削除
12        $('#overlay, .modal-window').fadeOut();
13    });
14});
15
16// .s_01 .accordion_one
17$(function(){
18  //.accordion_oneの中の.accordion_headerがクリックされたら
19  $('.s_01 .accordion_one .accordion_header').click(function(){
20    //クリックされた.accordion_oneの中の.accordion_headerに隣接する.accordion_innerが開いたり閉じたりする。
21    $(this).next('.accordion_inner').slideToggle();
22    $(this).toggleClass("open");
23  });
24});

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.