PageSourceSearch

https://www.atami-daruma.com/wordpress/wp-content/themes/grbs11/js/smooth-scroll_gr.js

js atami-daruma.com collected 2026-09-26 19:29:42 UTC 1,028 bytes, 39 lines download raw bytes

1smoothScroll.init({
2	// スムーススクロールが適用される属性値。
3	selector: '[data-scroll]', 
4	// 上部固定ナビとして処理される属性値。固定ナビをこれつけないと不具合が起きる。
5	selectorHeader: '[data-scroll-header]',
6	// スクロールスピード
7	speed: 800,
8	// スクロールのアニメーション
9	easing: 'easeInOutQuad',
10	// スクロールしたときのオフセット
11	offset: 0,
12	// ページ内移動したときにURLを変更するか
13	updateURL: true,
14	// コールバック関数
15	callback: function ( anchor, toggle ) {}
16});
17
18
19
20
21$(function() {
22	var showFlug = false;
23	var topBtn = $('#page-top');	
24	topBtn.css('bottom', '-150px');
25	var showFlug = false;
26	$(window).scroll(function () {
27		if ($(this).scrollTop() > 5) {
28			if (showFlug == false) {
29				showFlug = true;
30				topBtn.stop().animate({'bottom' : '10px'}, 200); 
31			}
32		} else {
33			if (showFlug) {
34				showFlug = false;
35				topBtn.stop().animate({'bottom' : '-150px'}, 200); 
36			}
37		}
38	});
39});

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.