PageSourceSearch

https://arc-nohara.co.jp/dcms_media/js/top.js

js arc-nohara.co.jp collected 2026-10-04 23:01:42 UTC 3,132 bytes, 145 lines download raw bytes

1var lh = "";
2	lh = location.href;
3	if (lh.match(/dcmsadm/)){
4	} else {
5
6$(document).ready(function(){
7	//top mainimage
8	$('.flexslider').flexslider({
9		animation: "fade",
10		slideDirection: "horizontal", 
11		slideshow: true,  //自動再生
12		slideshowSpeed: 4000,
13		animationDuration: 800, 
14		directionNav: true,
15		controlNav: true
16	});
17	//slider
18	$('.slide').slick({
19		dots: true,
20		infinite: true,
21		speed: 300,
22		slidesToShow: 4,
23		slidesToScroll: 4,
24		responsive: [
25		{
26			breakpoint: 979,
27			settings: {
28				slidesToShow: 3,
29				slidesToScroll: 3,
30				infinite: true,
31				dots: true
32			}
33		},
34		{
35			breakpoint: 690,
36			settings: {
37				slidesToShow: 2,
38				slidesToScroll: 2
39			}
40			},
41		{
42			breakpoint: 480,
43			settings: {
44				slidesToShow: 1,
45				slidesToScroll: 1
46			}
47		}]
48	});
49	//biggerlink
50	$('.bl').biggerlink();
51	//matchHeight
52	//$('.side_reco').matchHeight(); 
53	$(".matchH").matchHeight();
54	//faq
55	/*$(".qa_click_q").on("click", function() {
56		$(this).next().slideToggle();
57		$(this).toggleClass("active");
58	});*/
59	//rss click
60	/*$(".rss_tggle .rss_box dl:gt(0)").wrapAll("<div id='close'></div>");
61	$("#rss_open").on("click", function() {
62		$("#close").slideToggle();
63		$(this).toggleClass("active");
64	});*/
65	//media slide
66	$('.media').slick({
67		dots: true,
68		infinite: true,
69		speed: 300,
70		slidesToShow: 4,
71		slidesToScroll: 4,
72		responsive: [
73		{
74			breakpoint: 979,
75			settings: {
76				slidesToShow: 3,
77				slidesToScroll: 3,
78				infinite: true,
79				dots: true
80			}
81		},
82		{
83			breakpoint: 690,
84			settings: {
85				slidesToShow: 2,
86				slidesToScroll: 2
87			}
88			},
89		{
90			breakpoint: 480,
91			settings: {
92				slidesToShow: 1,
93				slidesToScroll: 1
94			}
95		}]
96	});
97	//header fix
98	$(window).on('scroll', function() {
99		if ($(this).scrollTop() > 100) {
100			$('#globalnav01').addClass('fixed');
101		} else {
102			$('#globalnav01').removeClass('fixed');
103		}
104	});
105	
106	//header 
107	var $win = $(window);
108	$win.on('load resize',function(){
109	var windowWidth = window.innerWidth;
110	if(windowWidth >= 690){
111		/*var nav = jQuery('.h_menu');
112		var offsetTop = nav.offset().top;
113		var floatMenu = function() {
114			if (jQuery(window).scrollTop() > offsetTop) {
115				nav.addClass('fixed');
116			} else {
117				nav.removeClass('fixed');
118			}
119		}
120		jQuery(window).scroll(floatMenu);
121		jQuery('body').bind('touchmove', floatMenu);*/
122	}
123	});
124	//sp header contact
125	$("#sp_hcontact_btn .ocbtn").on("click", function() {
126		$("#sp_hcontact_nav").slideToggle();
127		$("#sp_hcontact_btn .ocbtn").toggleClass("active");
128	});
129
130//SP tablet tel
131if (navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/)) {
132  $(function() {
133    $('.sptab_tel').each(function() {
134      var str = $(this).html();
135      if ($(this).children().is('img')) {
136        $(this).html($('<a>').attr('href', 'tel:' + $(this).children().attr('alt').replace(/-/g, '')).append(str + '</a>'));
137      } else {
138        $(this).html($('<a>').attr('href', 'tel:' + $(this).text().replace(/-/g, '')).append(str + '</a>'));
139      }
140    });
141  });
142}
143
144});
145}

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.