PageSourceSearch

https://vinanshi-official.jp/wp-content/themes/BCv11_vinanshi/js/topSlider.js

js vinanshi-official.jp collected 2026-10-07 20:21:47 UTC 1,574 bytes, 60 lines download raw bytes

1jQuery(function($) {
2
3var sliderImg = $('.swiper-container .swiper-slide').length;
4
5if(sliderImg < 2){
6
7    $('.swiper-container .swiper-pagination').css('display','none');
8	$('.swiper-container .swiper-button-white').css('display','none');
9	$('.swiper-container').css('padding-bottom','calc(1.6% + 5px)');
10	$('.swiper-container .swiper-slide').css('max-width','1280px');
11	$('.swiper-container .swiper-slide').css('padding','0');
12	$('.swiper-container .swiper-slide img').css('max-width','100%');
13	
14	return false;
15    
16} else {
17	
18	swiper = new Swiper('.swiper-container', {
19      speed: 800,
20      slidesPerView: 'auto',
21      centeredSlides : true,
22      watchOverflow: true,
23      roundLengths: true,
24      slideToClickedSlide : true,
25      spaceBetween: 20,
26      loop:true,
27      pagination: {
28        el: '.swiper-pagination',
29        type: 'bullets',
30        clickable: true
31      },
32      navigation: {
33	      nextEl: '.swiper-button-next',
34	      prevEl: '.swiper-button-prev',
35      },
36      autoplay: {
37	      delay: 4000, // スライドが切り替わるまでの表示時間(ミリ秒)
38	      stopOnLast: false, // 最後のスライドまで表示されたら自動再生を中止するか
39	      disableOnInteraction: true // ユーザーのスワイプ操作を検出したら自動再生を中止するか
40	  },
41	  breakpoints: {
42			480: {
43				spaceBetween: 5
44			},
45			768: {
46				spaceBetween: 10
47			}
48	  }
49	});
50	
51	$(".swiper-container").hover(function() {
52		(this).swiper.autoplay.stop();
53	}, function() {
54		(this).swiper.autoplay.start();
55	});
56
57}
58
59  
60});

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.