PageSourceSearch

https://www.saraya.com/themes/saraya/js/site.js?date=20230904150719

js saraya.com collected 2026-10-01 14:04:26 UTC 1,185 bytes, 35 lines download raw bytes

1// ページ上部へ戻るボタンの表示の設定
2$(function () {
3	var nav     = $('.page-top-btn'),
4		offset  = '50',
5		footer  = $(document).height() - $(window).height() - 500;
6	$(window).scroll(function() {
7		if($(window).scrollTop() > offset) {
8			nav.addClass('page-top-btn-appear');
9		} else {
10			nav.removeClass('page-top-btn-appear');
11		}
12	});
13
14    // 郵便番号の「-」の挿入
15    $('.js-insert-hyphen').blur(function(){
16        function insertStr(str, index, insert) {
17            return str.slice(0, index) + insert + str.slice(index, str.length);
18        }
19        var zip = $(this).val();
20        if (!zip.match('-')) {
21            var zipHyphen = insertStr(zip, 3, '-');
22            $(this).val(zipHyphen);
23        }
24    });
25});
26
27// オフキャンバスのブレイクポイントの設定
28ACMS.Ready(function(){
29	ACMS.Config.offcanvas.breakpoint = 991,
30    ACMS.Config.linkMatchLocationClass          = 'active',
31    ACMS.Config.linkMatchLocationFullClass      = 'active',
32    ACMS.Config.linkMatchLocationBlogClass      = 'active',
33    ACMS.Config.linkMatchLocationCategoryClass  = 'active',
34    ACMS.Config.linkMatchLocationEntryClass     = 'active';
35});

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.