PageSourceSearch

https://amadeus-resto.be/wp-content/themes/voyage/js/voyage.js?ver=1.3.8

js amadeus-resto.be collected 2026-09-26 14:19:02 UTC 2,734 bytes, 117 lines download raw bytes

1jQuery(document).ready(function($){
2	
3	$(".toggle-off div").hide();
4
5	$("p.toggle-title").click(function(){
6		$(this).toggleClass("active").next().slideToggle("slow");
7	});
8	
9	$(".carousel-control.left").click(function(){
10		$(".carousel").carousel('prev');
11		return false;
12	});
13
14	$(".carousel-control.right").click(function(){
15		$(".carousel").carousel('next');
16		return false;
17	});	
18	//Add Pretty Print class
19	$("#content pre").addClass("prettyprint");
20	
21	// Back-to-top Script
22	$(".back-to-top").hide();
23	// fade in back-to-top 
24	$(window).scroll(function () {
25		if ($(this).scrollTop() > 500) {
26			$('.back-to-top').fadeIn();
27		} else {
28			$('.back-to-top').fadeOut();
29		}
30	});
31	
32	// scroll body to 0px on click
33	$('.back-to-top a').click(function () {
34		$('body,html,header').animate({
35			scrollTop: 0
36		}, 800);
37		return false;
38	});
39	//Mobile
40	if ( jQuery.mobileMenu ) {
41		$('.top-menu .menu').mobileMenu({
42			prependTo:'.top-menu',
43			topOptionText:'Menu',
44			groupPageText:''
45		});		
46	}
47	
48	if( jQuery.colorbox ) {
49		$('.format-gallery a[href$=".jpg"],.format-gallery a[href$=".jpeg"],.format-gallery a[href$=".png"],.format-gallery a[href$=".gif"]').colorbox({
50			slideshow:'true',
51			slideshowSpeed:'5000',
52			maxWidth:'100%',
53			maxHeight:'100%',
54			rel:'gallery',
55			fixed:'true'
56		});	
57	}
58
59	if( jQuery.skitter ) {
60		$('.box_skitter').skitter({
61		theme: 'clean',
62		numbers_align: 'right',
63		dots: true, 
64		preview: true,
65		interval: 5000,
66		show_randomly: true
67		});
68	}
69});
70
71(function($) {
72  $(function(){	
73
74	var $col = $('#portfolio-column').val();
75	
76	if ($col > 0) {
77		
78	var $container = $('#content');
79    $container.imagesLoaded(function(){
80		$container.masonry({
81    		itemSelector : '.item',
82	  		isAnimated: true,
83  			columnWidth: function( containerWidth ) {
84				return containerWidth / $col;
85  			},
86  		});
87    });
88		
89	$container.infinitescroll({
90      navSelector  : '#nav-below',
91      nextSelector : '#nav-below a.next.page-numbers',
92      itemSelector : '.item',     // selector for all items you'll retrieve
93      loading: {
94          finishedMsg: '<em>All items are loaded.</em>',
95		  msgText: '<em>Loading...</em>'
96        		}
97     },
98     // trigger Masonry as a callback
99	function( newElements ) {
100        // hide new items while they are loading
101        var $newElems = $( newElements ).css({ opacity: 0 });
102        // ensure that images load before adding to masonry layout
103        $newElems.imagesLoaded(function(){
104          // show elems now they're ready
105          $newElems.animate({ opacity: 1 });
106          $container.masonry( 'appended', $newElems, true ); 
107        });
108    });		
109		
110	}
111
112	var $window = $(window);
113	// make code pretty
114	window.prettyPrint && prettyPrint();		
115
116  });	
117})(jQuery);

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.