PageSourceSearch

https://www.wanosato.com/common/js/page-scroller.js

js wanosato.com collected 2026-10-06 13:17:30 UTC 572 bytes, 16 lines download raw bytes

1$(function(){
2   // #で始まるアンカーをクリックした場合に処理
3   $('a[href^=#]').click(function() {
4      // スクロールの速度
5      var speed = 1000;// ミリ秒
6      // アンカーの値取得
7      var href= $(this).attr("href");
8      // 移動先を取得
9      var target = $(href == "#" || href == "" ? 'html' : href);
10      // 移動先を数値で取得
11      var position = target.offset().top;
12      // スムーススクロール
13      $('body,html').animate({scrollTop:position}, speed, 'swing');
14      return false;
15   });
16});

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.