PageSourceSearch

https://lakesaiko.com/wp-content/themes/saikogyokyou/js/backtoTop.js

js lakesaiko.com collected 2026-10-08 22:52:53 UTC 633 bytes, 24 lines download raw bytes

1// JavaScript Document
2
3
4$(function() {
5    var topBtn = $('.backtotop');    
6    //最初はボタンを隠す
7    topBtn.hide();
8    //スクロールが300に達したらボタンを表示させる
9    $(window).scroll(function () {
10        if ($(this).scrollTop() > 300) {
11            topBtn.fadeIn();
12        } else {
13            topBtn.fadeOut();
14        }
15    });
16    //スクロールしてトップに戻る
17    //500の数字を大きくするとスクロール速度が遅くなる
18    topBtn.click(function () {
19        $('body,html').animate({
20            scrollTop: 0
21        }, 500);
22        return false;
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.