PageSourceSearch

https://www.wanosato.com/common/js/script.js

js wanosato.com collected 2026-10-06 13:17:36 UTC 1,129 bytes, 56 lines download raw bytes

1$(function () {
2    $('a[href^="#"]').click(function () {
3        var speed = 400; // スクロールスピード(ミリ秒)
4        var href = $(this).attr("href");
5        var target = $(href == "#" || href == "" ? 'html' : href);
6        var position = target.offset().top;
7        $('body,html').animate({scrollTop: position}, speed, 'swing');
8        return false;
9    });
10});
11
12$(function () {
13    $(".menu-trigger").click(function () {
14        $("#overlay_sp").fadeToggle();
15        $(".menu-trigger").toggleClass("active");//追加部分
16    });
17});
18
19//スライダー
20$('.mv_slider').slick({
21	autoplay: true,
22	arrows: false,
23	speed: 2500,
24	fade: true,
25	autoplaySpeed: 3500,
26	pauseOnDotsHover: false,
27	adaptiveHeight: true,
28	dots: true,
29  });
30
31$('.keikan_slider').slick({
32	autoplay: true,
33	arrows: false,
34	speed: 2500,
35	fade: true,
36	autoplaySpeed: 3500,
37	pauseOnDotsHover: false,
38	adaptiveHeight: true,
39	dots: true,
40  });
41
42
43
44$(function () {
45  $(window).scroll(function () {
46    if ($(this).scrollTop() > 30) {
47      $('.nav_sp').addClass('fixed');
48    } else {
49      $('.nav_sp').removeClass('fixed');
50    }
51  });
52});
53
54
55
56

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.