PageSourceSearch

https://www.ville-baulne.fr/wp-content/plugins/emendo-agenda/assets/js/agenda.js?ver=0.3.92

js ville-baulne.fr collected 2026-09-25 12:16:12 UTC 2,029 bytes, 64 lines download raw bytes

1jQuery(function($){
2
3	$(window).load(function(){
4		$(document).ready(function () {
5
6		    // ------------------------- SLIDE DOWN
7		    $('.agenda-detail').hide();
8		    $('.date-event.hide-full-view span').hide();
9
10			$('.event .click-agenda').click(function() {
11
12		        if($(this).hasClass('agenda-close')) {
13
14		            $('.agenda-open').removeClass('agenda-open').addClass('agenda-close');
15		            $('.agenda-detail').slideUp();
16
17		            $(this).parents('.event').first().find('.agenda-detail').slideDown();
18		            $(this).removeClass('agenda-close').addClass('agenda-open');
19
20		            $('.plus-event').html('+');
21		            if($(this).children('.plus-event').html() == '+') $(this).children('.plus-event').html('-');
22
23		        } else {
24
25		            $(this).parents('.event').first().find('.agenda-detail').slideUp();
26		            $(this).removeClass('agenda-open').addClass('agenda-close');
27
28		            if($(this).children('.plus-event').html() == '-') $(this).children('.plus-event').html('+');
29		        }
30
31		    }).addClass('agenda-close');
32
33			//  ------------------------- CATEGORY Filter
34			$(".button-cat").click(function(){
35
36				var catslug = $(this).attr("data-cat");
37
38				// Gestion du filtre
39				$(".button-cat").removeClass("active");
40				$(this).addClass("active");
41
42				if(catslug=="all") {
43					$(".event").css("opacity","0").css("display","block").animate( { opacity: 1 }, 500 );
44					$('.date-event.hide-full-view span').hide();
45				} else {
46					$('.date-event.hide-full-view span').show();
47					// affichage des evenements
48					$(".event").css("display","none");
49					$(".event." + catslug).css("opacity","0").css("display","block").animate( { opacity: 1 }, 500 );
50				}
51			});
52
53			//  ------------------------- CALENDAR
54			$('.agenda-calendar .date-with-event').click(function(event) {
55				event.preventDefault();
56				target = $(this).data('target');
57				$('.calendar-events > div').hide();
58				$(target).slideDown().delay(4000).slideUp();
59
60			});
61		});
62	});
63
64});

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.