PageSourceSearch

http://www.mayurahillresort.com/js/custom.js

js mayurahillresort.com collected 2026-10-03 00:46:40 UTC 2,602 bytes, 118 lines download raw bytes

1jQuery(document).ready(function($) {
2	$('#full-width-slider').royalSlider({
3		arrowsNav: true,
4		loop: true,
5		keyboardNavEnabled: true,
6		controlsInside: false,
7		imageScaleMode: 'fill',
8		imageAlignCenter: true,
9		arrowsNavAutoHide: false,
10		autoScaleSlider: true, 
11		autoScaleSliderWidth: 1210,     
12		autoScaleSliderHeight: 630,
13		controlNavigation: 'none', //bullets
14		thumbsFitInViewport: false,
15		navigateByClick: true,
16		startSlideId: 0,
17		autoPlay: {
18    		// autoplay options go gere
19    		enabled: true,
20    		pauseOnHover: true,
21			delay:6000
22    	},
23		transitionType:'fade',
24		globalCaption: false,
25		deeplinking: {
26		  enabled: true,
27		  change: false
28		},
29		imgWidth: 1210,
30		imgHeight: 630
31	});
32	
33	// Heading 1 Style
34	$(".content h1").each(function(){
35		content=$(this).html();
36		$(this).html("");
37		$(this).html("<span>" + content + "</span>");
38	});
39	
40	// Scroll to top
41	$('a[href^="#"]').on('click',function (e) {
42	    e.preventDefault();
43
44	    var target = this.hash;
45	    var $target = $(target);
46
47	    $('html, body').stop().animate({
48	        'scrollTop': $target.offset().top
49	    }, 900, 'swing', function () {
50	        window.location.hash = target;
51	    });
52	});
53	
54	// Animation When Scroll
55	jQuery('.home_animation').addClass("hidden_content").viewportChecker({
56		classToAdd: 'visible_content animated fadeInDown',
57		offset: 100    
58    });  
59	
60	// Carousel Owl - Partner
61	$("#partner").owlCarousel({
62		autoPlay: 6000, //Set AutoPlay to 6 seconds
63		items : 4,
64		itemsDesktop : [1199,3],
65		itemsDesktopSmall : [979,3],
66		pagination: false
67
68    });
69	 
70	if($('.zoom-gallery').length>0){
71	// Gallery Pop Up Magnific
72	
73	$('.zoom-gallery').magnificPopup({
74		  delegate: 'a',
75		  type: 'image',
76		  closeOnContentClick: false,
77		  closeBtnInside: false,
78		  mainClass: 'mfp-with-zoom mfp-img-mobile',
79		  image: {
80			verticalFit: true,
81			titleSrc: function(item) {
82			  return item.el.attr('title');
83			}
84		  },
85		  gallery: {
86			enabled: true
87		  },
88		  zoom: {
89			enabled: true,
90			duration: 200, // don't foget to change the duration also in CSS
91			opener: function(element) {
92			  return element.find('img');
93			}
94		  }
95	});
96	}// end if
97	
98	if($('.popup-with-zoom-anim').length>0){
99	// Pop Up Content
100    $('.popup-with-zoom-anim').magnificPopup({
101            type: 'inline',
102
103            fixedContentPos: true,
104            fixedBgPos: true,
105
106            overflowY: 'auto',
107
108            closeBtnInside: true,
109            preloader: false,
110            
111            midClick: true,
112            removalDelay: 300,
113            mainClass: 'my-mfp-zoom-in'
114    });
115	}// end if
116 
117	
118});

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.