PageSourceSearch

https://satayaresort.com/js/main.js

js satayaresort.com collected 2026-10-08 12:02:13 UTC 7,261 bytes, 263 lines download raw bytes

1/*
2
3Template:  Chondo Hotel
4Author: Hastech
5Version: 1
6Design and Developed by: Hastech
7NOTE: If you have any note put here. 
8
9*/
10(function($) {
11    "use strict";
12    
13    /*-------------------------------------------
14    	01. jQuery MeanMenu
15    --------------------------------------------- */
16    jQuery('nav#dropdown').meanmenu();
17    
18    /*-------------------------------------------
19    	02. wow js active
20    --------------------------------------------- */
21    new WOW().init();
22	
23	/*---------
24	   3. Preloader
25	------------------------*/
26		/*$(window).on('load', function() {
27			$(".preloader").fadeOut("slow");;
28		});*/
29
30	/*---------------------
31		4. Mobile menu active
32	------------------------*/
33
34	$(window).on('scroll',function() {    
35	   var scroll = $(window).scrollTop();
36	   if (scroll < 245) {
37		$(".sticky-header").removeClass("sticky");
38	   }else{
39		$(".sticky-header").addClass("sticky");
40	   }
41	});
42	/*--------------------------
43		5. Parallax active
44	----------------------*/
45	$('.header-section.static4').parallax("50%", 0.3);
46	
47    
48    $('.date-picker').datepicker({
49            startDate: '-3d'
50    });
51
52    $('.select-booking').selectpicker({
53      style: 'btn-info',
54      size: 4
55    });
56	/*------------------------------------
57	   6. Textilate Activation
58	--------------------------------------*/
59    $('.tlt').textillate({
60        loop: true,
61        minDisplayTime: 2500
62    });
63    /*------------------------------------
64	   7. Video Player
65    --------------------------------------*/
66    $(".player").YTPlayer({
67        showControls: false
68    });
69    
70    /*----------------------------
71	   8. search button
72    ------------------------------ */
73	$('.search-open').on('click', function(){
74		$('.search-bar').removeClass('slideOutUp').addClass('slideInDown');
75	});
76	$('.close-search').on('click', function(){
77		$('.search-bar').removeClass('slideInDown').addClass('slideOutUp');
78        
79    });
80    /*----------------------------
81     9. owl active
82    ------------------------------ */  
83    $(".slider-list").owlCarousel({
84      autoPlay: false, 
85	  slideSpeed:2000,
86	  pagination:false,
87	  navigation:true,	  
88      items : 1,
89	  /* transitionStyle : "fade", */    /* [This code for animation ] */
90	  navigationText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
91      itemsDesktop : [1199,1],
92	  itemsDesktopSmall : [991,1],
93	  itemsTablet: [768,1],
94	  itemsMobile : [479,1],
95    });  
96    $(".carousel-list").owlCarousel({
97      autoPlay: false, 
98	  slideSpeed:2000,
99	  pagination:true,
100	  navigation:false,	  
101      items : 3,
102	  /* transitionStyle : "fade", */    /* [This code for animation ] */
103	  navigationText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
104      itemsDesktop : [1199,3],
105	  itemsDesktopSmall : [991,2],
106	  itemsTablet: [768,2],
107	  itemsMobile : [479,1],
108    });  
109    $(".our-room-list, .our-news-list, .carousel_list").owlCarousel({
110      autoPlay: false, 
111	  slideSpeed:2000,
112	  pagination:true,
113	  navigation:false,	  
114      items : 1,
115	  /* transitionStyle : "fade", */    /* [This code for animation ] */
116	  navigationText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
117      itemsDesktop : [1199,1],
118	  itemsDesktopSmall : [980,1],
119	  itemsTablet: [768,1],
120	  itemsMobile : [479,1],
121    });
122    $(".testimonial-list").owlCarousel({
123      autoPlay: false, 
124	  slideSpeed:2000,
125	  pagination:true,
126	  navigation:false,	  
127      items : 1,
128	  transitionStyle : "backSlide",
129	  navigationText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
130      itemsDesktop : [1199,1],
131	  itemsDesktopSmall : [980,1],
132	  itemsTablet: [768,1],
133	  itemsMobile : [479,1],
134    });
135    $(".team-brand").owlCarousel({
136    autoPlay: false, 
137	  slideSpeed:2000,
138	  pagination:false,
139	  navigation:false,	  
140      items : 5,
141	  transitionStyle : "backSlide",
142	  navigationText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
143      itemsDesktop : [1199,5],
144	  itemsDesktopSmall : [980,4],
145	  itemsTablet: [768,3],
146	  itemsMobile : [479,2],
147    });
148     
149    $(".team_brand.style2").owlCarousel({
150      autoPlay: true, 
151	  slideSpeed:2000,
152	  pagination:true,
153	  navigation:false,	  
154      items : 5,
155	  transitionStyle : "backSlide",
156	  navigationText:["<i class='fa fa-angle-left'></i>","<i class='fa fa-angle-right'></i>"],
157      itemsDesktop : [1199,5],
158	  itemsDesktopSmall : [980,4],
159	  itemsTablet: [768,3],
160	  itemsMobile : [479,2],
161    });
162    
163    /*------
164       10. video active
165    --------*/
166    
167     $('.show_video').magnificPopup({
168            disableOn: 0,
169            type: 'iframe',
170            mainClass: 'mfp-fade',
171            removalDelay: 160,
172            preloader: true,
173
174            fixedContentPos: false
175        });
176    /*----------------
177       11. Lightbox active
178    --------------*/
179     $('.single-gallery-img a, .single_gallery_inner a, .single-gallery-inner a').magnificPopup({
180            type: 'image',
181            gallery:{enabled:true},
182            zoom: {
183                 enabled: true,
184                 duration: 300,
185            }
186    });
187    /*--------------------------
188        12. Counter Up
189    ---------------------------- */	
190    $('.counter').counterUp({
191        delay: 70,
192        time: 5000
193    }); 
194    /*-------------------------------------------
195    	13. scrollUp jquery active
196    --------------------------------------------- */
197    $.scrollUp({
198        scrollText: '<i class="fa fa-angle-up"></i>',
199        easingType: 'linear',
200        scrollSpeed: 900,
201        animation: 'fade'
202    });
203    
204    /*-------------------------------------------
205    	14. Isotope masonry active
206    --------------------------------------------- */
207    $(window).on('load', function () {
208    //Isotope Activated
209		if ($.fn.isotope) {
210
211			$(".our_gallery_item").isotope({
212					filter: '*',
213					layoutMode: 'packery',
214					itemSelector: '.single_gallery',
215				});
216
217				$('.gallery-menu-filter li').on('click', function () {
218					$(".gallery-menu-filter li").removeClass("active");
219					$(this).addClass("active");
220
221					var selector = $(this).attr('data-filter');
222					$(".our_gallery_item").isotope({
223						filter: selector,
224						animationOptions: {
225							duration: 0,
226							easing: 'linear',
227							queue: false,
228						}
229					});
230					return false;
231				});
232
233
234			}
235	});
236    
237	/*----------------------
238		15. MailChimp
239	------------------------*/
240	$('#mc-form').ajaxChimp({
241		language: 'en',
242		callback: mailChimpResponse,
243		// ADD YOUR MAILCHIMP URL BELOW HERE!
244		url: 'http://themeshaven.us8.list-manage.com/subscribe/post?u=759ce8a8f4f1037e021ba2922&amp;id=a2452237f8'
245
246	});
247	function mailChimpResponse(resp) {
248
249		if (resp.result === 'success') {
250			$('.mailchimp-success').html('' + resp.msg).fadeIn(900);
251			$('.mailchimp-error').fadeOut(400);
252
253		} else if(resp.result === 'error') {
254			$('.mailchimp-error').html('' + resp.msg).fadeIn(900);
255		}  
256	};
257    
258})
259(jQuery);
260
261
262
263

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.