PageSourceSearch

https://forest-stay.com/theme/home/html/css_js/main.js

js forest-stay.com collected 2026-10-06 14:06:20 UTC 1,595 bytes, 72 lines download raw bytes

1/**
2 * Swiper 4.0.7
3 * Most modern mobile touch slider and framework with hardware accelerated transitions
4 * http://www.idangero.us/swiper/
5 *
6 * Copyright 2014-2017 Vladimir Kharlampidi
7 *
8 * Released under the MIT License
9 *
10 * Released on: November 28, 2017
11 */
12var swiperAnimation = new SwiperAnimation();
13var swiper = new Swiper('.swiper-container', {
14	slidesPerView: 1,
15	spaceBetween: 0,
16	effect:"fade",
17	loop: true, //À¯Åõºê ¿µ»óÀ» ù¹øÂ° ÄÆ, ¸¶Áö¸· ÄÆÀ¸·Î »ç¿ëÇÏ½Ç °æ¿ì false ·Î ÁöÁ¤ÇÏ¼Å¾ß ÇÕ´Ï´Ù. À¯Åõºê¿µ»óÀÌ ¾ø°Å³ª µÎ¹øÂ°ÀÌ»ó ÄÆ¿¡ ³ÖÀ¸½Å´Ù¸é true ·Î ¹Ù²Ù¼Åµµ µË´Ï´Ù.
18	pagination: {
19		el: '.swiper-pagination',
20		clickable: true,
21	},
22	preloadImages: false,   
23	lazy: true,
24	lazy: {
25		loadPrevNext: true,
26	},
27	navigation: {
28		nextEl: '.swiper-button-next',
29		prevEl: '.swiper-button-prev',
30	},
31	paginationClickable: true,
32	speed: 1000,
33	autoplay: {
34		delay: 5000,
35		disableOnInteraction: false
36	},
37	on: {
38      init: function () {
39        swiperAnimation.init(this).animate();
40      },
41      slideChange: function () {
42        swiperAnimation.init(this).animate();
43      }
44    }
45});
46
47swiper.on('slideChange', function () {	
48
49	if($('#bgndVideo').length) {
50	
51		var isVideoa = swiper.slides[swiper.activeIndex].querySelector('#bgndVideo1');
52		if (isVideoa) {		
53			$("#bgndVideo").YTPPlay();	
54		}else{
55			$("#bgndVideo").YTPPause();
56		}
57	}
58
59});
60
61
62
63
64
65$( ".swiper-container" ).mouseover(function(){
66	$(".swiper-button-next").show();
67	$(".swiper-button-prev").show();
68});
69$( ".swiper-container" ).mouseleave(function(){
70	$(".swiper-button-next").hide();
71	$(".swiper-button-prev").hide();
72});

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.