PageSourceSearch

https://www.letsmakememories.co.uk/theme/theme.js

js letsmakememories.co.uk collected 2026-10-04 05:22:34 UTC 2,967 bytes, 115 lines download raw bytes

1new WOW({ offset: 70 }).init();
2
3$(document).ready(function () {
4
5	$('.textContent a').addClass("has-tooltip");
6
7	$("img.has-tooltip").tooltip({
8		title: function () {
9			return $(this).attr("alt");
10		},
11		placement: "auto"
12	});
13
14	$("a.has-tooltip").tooltip({
15		placement: "auto"
16	});
17
18	$(".toplinks__dropdown").each(function () {
19		$(".toplinks__dropdown-link", this).each(function (index, value) {
20			$(this).attr({ "data-wow-delay": index / 10 + "s", "data-wow-offset": 0 })
21				.addClass("wow fadeIn");
22		});
23	});
24
25	// ADD SLIDEDOWN ANIMATION TO DROPDOWN //
26	$('.toplinks').on('show.bs.dropdown', function (e) {
27		$(this).find('.dropdown-menu').first().stop(true, true).slideDown();
28		$("#TopLinksInner .dropdown-menu a").addClass("animated");
29		window.scrollBy(0, 1);
30	});
31
32	// ADD SLIDEUP ANIMATION TO DROPDOWN //
33	$('.toplinks').on('hide.bs.dropdown', function (e) {
34		$(this).find('.dropdown-menu').first().stop(true, true).slideUp();
35	});
36
37
38	if ($('#HomepageMarker').length > 0) {
39
40		var testimonialAuthors = $(".RotatorTestimonialContent a[itemprop='author']");
41		if (testimonialAuthors.length > 0) {
42			$(".RotatorTestimonialContent a[itemprop='author']")[0].nextSibling.nodeValue = '';
43			$(".RotatorTestimonialContent a[itemprop='author']").each(function () {
44				$(this)[0].nextSibling.nodeValue = '';
45			});
46		}
47
48		 $('.testimonials .RotatorTestimonial').each(function (i, el) {
49			 $(el).prepend("<img class='testimonials__stars' src='/theme/testimonial-stars.png'>");
50		 });
51
52		$('.header__logo').addClass("wow fadeInDown");
53		$('.upper__footer-logo').addClass("wow zoomIn");
54		$('.book-online__title h2').addClass("wow fadeInUp2").attr("data-wow-offset","100");
55
56		
57	} else {
58		$('.header__logo').css('visibility', 'visible');
59	}
60
61	function fixHeights() {
62		$('.RotatorTestimonialContent').sameHeight();
63	}
64
65	setTimeout(fixHeights, 300);
66
67
68	$(window).on('resize',
69		function () {
70			setTimeout(fixHeights, 300);
71		});
72
73
74	$('.featured-galleries__inner').slick({
75		centerMode: false,
76		centerPadding: '0',
77		slidesToShow: 4,
78		arrows:false,
79		autoplay: true,
80		autoplaySpeed: 5000,
81		responsive: [
82			{
83				breakpoint: 768,
84				settings: {
85					slidesToShow: 3
86				}
87			},
88			{
89				breakpoint: 350,
90				settings: {
91					slidesToShow: 2
92				}
93			}
94		]
95	});
96
97	$('.testimonials .carousel-inner').slick({
98		centerMode: false,
99		centerPadding: '0',
100		slidesToShow: 2,
101		prevArrow: "<button class='testimonials__button testimonials__button--prev' aria-label='Previous' type='button'><img src='/theme/arrow.png' alt=''/></button>",
102		nextArrow: "<button class='testimonials__button testimonials__button--next' aria-label='Previous' type='button'><img src='/theme/arrow.png' alt=''/></button>",
103		autoplay: false,
104		autoplaySpeed: 5000,
105		responsive: [
106			{
107				breakpoint: 768,
108				settings: {
109					slidesToShow: 1
110				}
111			}
112		]
113	});
114});
115

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.