PageSourceSearch

https://paparazia.jp/wp-content/themes/tokyocurrymix/assets/js/scroll.js

js paparazia.jp collected 2026-10-05 18:24:32 UTC 658 bytes, 31 lines download raw bytes

1$(function(){
2    var pagetop = $('#page_top');
3    // ボタン非表示
4    pagetop.hide();
5    // 100px スクロールしたらボタン表示
6    $(window).scroll(function () {
7       if ($(this).scrollTop() > 100) {
8            pagetop.fadeIn();
9       } else {
10            pagetop.fadeOut();
11       }
12    });
13    pagetop.click(function () {
14   // 500 = 0.5秒
15       $('body, html').animate({ scrollTop: 0 }, 500);
16       return false;
17    });
18  });
19
20
21  const btn = document.getElementById("btn");
22
23  btn.addEventListener("click", (event) => {
24    event.preventDefault();
25    window.scroll({
26      top: 0,
27      behavior: "smooth",
28    });
29  });
30
31  

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.