PageSourceSearch

https://www.azplan.co.jp/wp-content/themes/2017renew/js/p_act.js

js azplan.co.jp collected 2026-10-04 13:24:47 UTC 910 bytes, 40 lines download raw bytes

1//上へ戻るボタン用
2$(document).ready(function(){
3
4	// hide #back-top first
5	$("#back-top").hide();
6	
7	// fade in #back-top
8	$(function () {
9		$(window).scroll(function () {
10			if ($(this).scrollTop() > 100) {
11				$('#back-top').fadeIn();
12			} else {
13				$('#back-top').fadeOut();
14			}
15		});
16
17		// scroll body to 0px on click
18		$('#back-top a').click(function () {
19			$('body,html').animate({
20				scrollTop: 0
21			}, 800);
22			return false;
23		});
24	});
25});
26
27
28$(function(){
29	var headerHight = 60;
30	// #で始まるリンクをクリックしたら実行されます
31	$('a[href^=#]').click(function() {
32		// スクロールの速度
33		var speed = 400; // ミリ秒で記述
34		var href= $(this).attr("href");
35		var target = $(href == "#" || href == "" ? 'html' : href);
36		var position = target.offset().top-headerHight;
37		$('body,html').animate({scrollTop:position}, speed, 'swing');
38		return false;
39	});
40});

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.