PageSourceSearch

https://www.shinsei-ip.ne.jp/wp/wp-content/themes/shinsei/js/pagelink.js?ver=6.8.10

js shinsei-ip.ne.jp collected 2026-09-26 08:24:32 UTC 1,116 bytes, 35 lines download raw bytes

1(function($) {
2$(function(){
3    function pagelink(heightnum){
4    var headerHight = heightnum; 
5    $("a[href^=#]").click(function(){
6        var href= $(this).attr("href");
7        var target = $(href == "#" || href == "" ? "body" : href);
8        var position = target.offset().top-headerHight;
9        $("html, body").animate({scrollTop:position}, 500, "swing");
10        //return false;
11    });
12    /* outpagelink */     
13    var url = $(location).attr("href");
14    if (url.indexOf("?id=") == -1) {
15     
16    }else{
17        var url_sp = url.split("?id=");
18        var hash     = "#" + url_sp[url_sp.length - 1];
19        var target2        = $(hash);
20        var position2        = target2.offset().top-headerHight;
21        $("html, body").animate({scrollTop:position2}, 500, "swing");
22    }
23    }
24    //スマホの時の設定
25    var windowWidth = $(window).width();
26    var windowSm = 768;
27    if (windowWidth <= windowSm) {
28    //横幅768px以下のときに行う処理を書く
29     pagelink(65);
30    } else {
31    //横幅768px超のときに行う処理を書く
32     pagelink(110);
33    }
34});
35})(jQuery);

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.