PageSourceSearch

https://www.ishimura.co.jp/contact/js/common.js

js ishimura.co.jp collected 2026-10-02 03:51:54 UTC 752 bytes, 33 lines download raw bytes

1jQuery( document ).ready(function( $ ) {
2
3  /**
4   * スムーススクロール
5   **/
6  $('a[href^="#"]').click(function () {
7    var speed = 800,
8      href = $(this).attr("href"),
9      target = $(href === "#" || href === "" ? 'html' : href),
10      position = target.offset().top;
11    $("html, body").animate({
12      scrollTop: position
13    }, speed, "swing");
14    return false;
15  });
16
17  $('.pagetop').css("opacity","0");
18  $(window).scroll(function (){
19	  $(".pagetop").each(function(){
20	  var Position = $(this).offset().top;
21	  var scroll = $(window).scrollTop();
22	  var windowHeight = $(window).height();
23	  if (scroll >= 150 ){
24		  $(".pagetop").css("opacity","1" );
25	  } else {
26		  $(".pagetop").css("opacity","0" );
27	  }
28	  });
29  });
30
31
32});
33

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.