PageSourceSearch

https://dekoolputten.be/wp-content/themes/divi-child/scripts/frontend.js?1790409100&ver=1.0.0

js dekoolputten.be collected 2026-09-26 07:52:30 UTC 2,200 bytes, 66 lines download raw bytes

1var image_scroll_bottom, image_scroll_top, image_row_bottom, image_end, scrollPosition, lastScrollTop;
2$( document ).ready(function() {
3	
4	/* star rating */
5	$('.star input[type="radio"]').rating();
6	$('.rating-cancel').hide();
7	
8	$( ".wpcf7-list-item-label" ).on( "mouseover", function() {
9		var chosen_value = $(this).text();
10		var stars = $(this).parent().parent().parent().find('.star-rating');
11		var counter = 1;
12		$.each( stars, function( key, value ) {
13		  	if(counter <= chosen_value) {
14				$(this).addClass('star-hover');
15			} else $(this).removeClass('star-hover');
16			counter++;
17		});
18	}).mouseleave(function() {
19		$(this).parent().parent().parent().find('.star-rating').removeClass('star-hover');
20	});
21	
22	/* translations */
23	$('.jobs-list .more-link').html('Meer lezen');
24	
25	/* scrolling images */
26	image_end = false;
27	image_scroll_top = $(".image-scroll-section").offset().top;
28	image_scroll_bottom = $(".image-scroll-section").offset().top + $(".image-scroll-section").height();
29	
30	lastScrollTop = 0;
31	toggleFloatingIcons();
32	/* scrolling images */
33	
34	/* open social media in a new tab */
35	$('.et_pb_social_media_follow .et_pb_social_icon a').attr('target', '_blank');
36	
37	/* restaurant menu tabs */
38	$( ".menu_tab" ).on( "click", function() {
39		var tab_name 	= $(this).attr('id');
40		var menu_name 	= tab_name.replace("tab_", "menu_");
41		var container 	= $(this).parent().parent();
42
43		container.find(".menu_tab").removeClass( "current" );
44		container.find(".menu_tab#"+tab_name).addClass( "current" );
45		container.find(".menu_item").hide();
46		container.find(".menu_item#"+menu_name).show();
47	} );
48});
49
50$( window ).on( "scroll", function() {
51	//scrolling image gallery
52	scrollPosition = $(window).height() + $(window).scrollTop();
53	$('.image-scroll-row').animate({ scrollTop: (scrollPosition - image_scroll_bottom + ($(".image-scroll-section").height()/2)) }, 15);
54
55	//floating icons
56	toggleFloatingIcons();
57} );
58
59function toggleFloatingIcons() {
60	if($(window).scrollTop() > $(window).height() && $(window).scrollTop() > lastScrollTop && $(window).width() > 980 ) {
61		$('.icons-container').fadeOut();
62	}
63	else $('.icons-container').fadeIn();
64	
65   	lastScrollTop = $(window).scrollTop();
66}

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.