PageSourceSearch

https://cloche.jp/js/common.js

js cloche.jp collected 2026-10-04 13:25:11 UTC 2,183 bytes, 86 lines download raw bytes

1jQuery(function(){
2  // #で始まるリンクをクリックしたら実行されます
3  jQuery('a[href^=#]').click(function() {
4    // スクロールの速度
5    var speed = 800; // ミリ秒で記述
6    var href= $(this).attr("href");
7    var target = $(href == "#" || href == "" ? 'html' : href);
8    var position = target.offset().top;
9    jQuery('body,html').animate({scrollTop:position}, speed, 'swing');
10    return false;
11  });
12});
13
14
15
16$(function() {
17    $.fatNav();
18});
19
20jQuery(function() {
21	var showFlag = false;
22	var topBtn = jQuery('#page-top');	
23	topBtn.css('bottom', '-100px');
24	var showFlag = false;
25	
26	jQuery(window).scroll(function () {
27		if (jQuery(this).scrollTop() > 100) {
28			if (showFlag == false) {
29				showFlag = true;
30				topBtn.stop().animate({'bottom' : '20px'}, 1000); 
31			}
32		} else {
33			if (showFlag) {
34				showFlag = false;
35				topBtn.stop().animate({'bottom' : '-100px'}, 1000); 
36			}
37		}
38	});
39	
40    topBtn.click(function () {
41		jQuery('body,html').animate({
42			scrollTop: 0
43		}, 1500);
44		return false;
45    });
46});
47
48$(function(){
49        $(".accordion .btn").on("click", function() {
50            $(this).next().slideToggle();
51            $(this).toggleClass("active");
52            $(this).prev().toggleClass("boxactive");
53        });
54    });
55    
56    $(function(){
57        $(".accordion .content .close a").on("click", function() {
58            $(this).parents('.content').slideToggle();
59            $(this).parents('.occupation').find(".recruitbox").toggleClass("boxactive");
60            $(this).parents('.occupation').find(".btn").toggleClass("active");
61        });
62    });
63
64
65
66$(function() {
67	$('.slider').slick({
68		dots: true, // スライダー下部に表示される、ドット状のページネーションです
69		infinite: true, // 無限ループ
70		speed: 1000, // 切り替わりのスピード
71		slidesToShow: 1, //通常 1024px以上の領域では4画像表示
72		slidesToScroll: 1, 
73		},
74		{
75			breakpoint: 600,settings: { //481px~600pxでは2画像表示
76				slidesToShow: 1,
77				slidesToScroll: 1
78			}
79		},
80		{
81			breakpoint: 480,settings: {//480px以下では1画像表示
82				slidesToShow: 1,
83				slidesToScroll: 1
84			}
85	});
86});

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.