PageSourceSearch

https://www.x-one.co.jp/en/js/top_btn.js

js x-one.co.jp collected 2026-10-04 21:13:25 UTC 509 bytes, 21 lines download raw bytes

1// JavaScript Document
2
3$(function() {
4    var topBtn = $('#page-top');    
5    topBtn.hide();
6    //スクロールが100に達したらボタン表示
7    $(window).on("scroll",function () {
8        if ($(this).scrollTop() > 100) {
9            topBtn.fadeIn();
10        } else {
11            topBtn.fadeOut();
12        }
13    });
14    //スクロールしてトップ
15    topBtn.on("click",function () {
16        $('body,html').animate({
17            scrollTop: 0
18        }, 500);
19        return false;
20    });
21});

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.