PageSourceSearch

https://www.toshin-hensachi.com/theme/Pc/js/utility.js

js toshin-hensachi.com collected 2026-10-02 21:40:15 UTC 1,663 bytes, 67 lines download raw bytes

1// blockの高さを揃える
2$(function() {
3  $('.box-card').matchHeight();
4});
5
6
7//上に戻るボタン
8$(function() {
9    $(window).scroll(function() {
10        var element = $('#js-page-top');
11        var visible = element.is(':visible');
12        var now = $(window).scrollTop();
13        if (now > 500) {
14            if (!visible) {
15                element.fadeIn('slow');
16            }
17        } else if (visible) {
18            element.fadeOut('slow');
19        }
20    });
21    $('#js-page-top').click(
22        function() {
23            $('html,body').animate({ scrollTop: 0 }, 'slow');
24        }
25    );
26});
27
28
29
30
31// タブメニュー
32$(function() {
33    $('#contents-ranking .contents-ranking-box[id != "tab1"]').hide();
34
35    // タブをクリックすると
36//    $(".tab-ul a").click(function() {
37//        // 一度全てのコンテンツを非表示にする
38//        $("#contents-ranking .contents-ranking-box").hide();
39//
40//        // 次に選択されたコンテンツを再表示する
41//        $($(this).attr("href")).show();
42//
43//        var s = $($(this).attr("href"));
44//
45//        console.log(s);
46//
47//        // 現在のcurrentクラスを削除
48//        $(".current").removeClass("current");
49//
50//        // 選択されたタブ(自分自身)にcurrentクラスを追加
51//        $(this).addClass("current");
52//
53//        return false;
54//    });
55
56});
57
58// アコーディオン
59  function categoryAccordion() {
60  $(this).toggleClass("active").next().slideToggle(300);
61  }
62
63  $(".category-switch .category-toggle").click(categoryAccordion);
64
65
66// td 高さ合わせる
67// $('.link-past-test').height($('.link-past-test').parent().height());

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.