PageSourceSearch

https://www.sezax.co.jp/common/js/common-2024.js

js sezax.co.jp collected 2026-10-02 22:28:21 UTC 2,435 bytes, 85 lines download raw bytes

1$(function() {
2    //	hedder インクルード
3    $("header").load("/common/include/include-2024.html #header_inc", function() {
4
5        $('header').imagesLoaded(function() {
6            // 画像を読み込んだ後に実行したい処理
7            var headHeight = $("#header_inc").outerHeight();
8            console.log(headHeight);
9            $(".header-ecs").css('margin-top', headHeight + 'px');
10        });
11
12        var activeName = $("header").attr("data-active");
13        var kara = "";
14        if (kara === activeName) {
15
16        } else {
17            $(".inner_r .pc." + activeName).addClass("active");
18        }
19
20
21        $(".menu_btn").on("click", function() {
22
23            $("#menu").fadeToggle(200);
24
25            var w = $(window).width();
26            $(".menu_wrap").css('width', w);
27            var x = 768;
28            if (w <= x) {
29
30                //SP時の処理
31
32                $('body').toggleClass("scroll-prevent");
33                $('html').toggleClass("scroll-prevent");
34
35                $(".clm-title").on("click", function() {
36
37                    $(this).toggleClass("open");
38
39                    if ($(this).hasClass("open") === true) {
40                        $(this).next(".detail").slideDown();
41                    } else {
42                        $(this).next(".detail").slideUp();
43                    }
44
45                });
46
47            } else {
48
49                //PC時の処理
50
51            }
52        });
53    });
54
55    $(window).resize(function() {
56        var w = $(window).width();
57        $(".menu_wrap").css('width', w);
58    });
59
60    //	footer インクルード
61    $("footer").load("/common/include/include-2024.html #footer_inc", function() {
62        var common_sec = $("footer").attr("data-footer");
63        if (common_sec == "footer_only") {
64            $('#common_sec').css("display", "none");
65        }
66    });
67
68
69    //	footer インクルード
70    $("#top_recommend").load("/common/include/include-2024.html #top_recommend", function() {
71        var common_sec = $("#top_recommend").attr("data-top_recommend");
72    });
73
74
75    //	bluemenu インクルード
76    $("#bluemenu").load("/common/include/include-2024.html #bluemenu_inc", function() {
77        var activeName_b = $("#bluemenu").attr("data-active");
78        var kara_b = "";
79        if (kara_b === activeName_b) {
80
81        } else {
82            $(".bluemenu li." + activeName_b).addClass("active");
83        }
84    });
85});

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.