PageSourceSearch

https://sinesplumbingandheating.co.uk/js/custom.js

js sinesplumbingandheating.co.uk collected 2026-10-06 18:06:27 UTC 878 bytes, 56 lines download raw bytes

1$(document).ready(function(){
2	$('.owl-carousel').owlCarousel({
3	    items:1,
4		//animateOut: 'fadeOut',
5	    lazyLoad:true,
6	    loop:true,
7		autoplay:true,
8		autoplayTimeout:4000,
9		autoplayHoverPause:false,
10	    margin:0
11	});
12
13	$(window).scroll(function(){
14		if ($(this).scrollTop() > 100) {
15			$('.scrollup').fadeIn();
16		} else {
17			$('.scrollup').fadeOut();
18		}
19	}); 
20	
21	$('.scrollup').click(function(){
22		$("html, body").animate({ scrollTop: 0 }, 600);
23		return false;
24	});
25	var $window = $(window);
26		$('div[data-type="background"').each(function(){
27			var $bgObject = $(this);
28			$(window).scroll(function(){
29			var vPosition = -($window.scrollTop() / $bgObject.data('speed'));
30			var newPosition = '50%'+vPosition+'px';	
31			$bgObject.css({backgroundPosition: newPosition});
32			})
33	});
34	
35});
36 
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56

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.