PageSourceSearch

https://dampierre-sur-le-doubs.fr/param/js/custom.js

js dampierre-sur-le-doubs.fr collected 2026-10-03 02:46:14 UTC 1,126 bytes, 58 lines download raw bytes

1$(document).ready(function () {
2
3	$(window).on('scroll', function () {
4		if ($(window).scrollTop() > 150) {
5			$('.nav-bg').removeClass('bg-hidden');
6			$('.nav-bg').addClass('bg-visible');
7		} else {
8			$('.nav-bg').removeClass('bg-visible');
9			$('.nav-bg').addClass('bg-hidden');
10		}
11	});
12
13	siteFooter();
14	$(window).resize(function () {
15		siteFooter();
16	});
17
18	function siteFooter() {
19		var siteContent = $('#site-content');
20		var siteContentHeight = siteContent.height();
21		var siteContentWidth = siteContent.width();
22
23		var siteFooter = $('#site-footer');
24		var siteFooterHeight = siteFooter.height();
25		var siteFooterWidth = siteFooter.width();
26
27		siteContent.css({
28			"margin-bottom": siteFooterHeight + 60
29		});
30	};
31
32	$("form").validationEngine()
33	$('.carousel').carousel()
34	$('.lightbox').lightbox()
35	$('.owl-carousel').owlCarousel({
36		loop: true,
37		margin: 80,
38		autoplay: true,
39		autoplayTimeout: 3000,
40		autoplayHoverPause: true,
41		responsiveClass: true,
42		responsive: {
43			0: {
44				items: 4,
45				nav: false
46			},
47			768: {
48				items: 6,
49				nav: false
50			},
51			992: {
52				items: 8,
53				nav: false
54			}
55		}
56	})
57
58});

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.