PageSourceSearch

https://www.courteuil.fr/mod_turbolead/mod/diderot/js/script-calendar.js

js courteuil.fr collected 2026-10-03 02:46:26 UTC 1,287 bytes, 58 lines download raw bytes

1/**
2 * Initialise les liens du calendrier
3 * @param ajaxURL
4 * @param action
5 */
6function setCalendarLinks(ajaxURL,action)
7{
8	$(document).ready(function()
9	{
10		$('.did_calendrier_4jq a').each(function()
11		{
12			var href = $(this).attr('href');
13			var date = $(this).attr('data-date');
14			var id_type = $(this).attr('data-type');
15
16			if (typeof id_type !== typeof undefined && id_type !== false)
17			{
18				var paramData = 'action='+action+'&date='+date+'&id_type='+id_type
19			}
20			else {
21				var paramData = 'action='+action+'&date='+date
22			}
23
24			$(this).attr('rel',ajaxURL);
25
26			var activeLink = true;
27			var dataNoClick = $(this).attr('data-noclick');
28			if (typeof dataNoClick !== typeof undefined && dataNoClick !== false) {
29				activeLink = false;
30			}
31
32			var cluetipClassValue = 'default';
33			if ($(this).hasClass('calendrier_aucune_actu_courante')) {
34				cluetipClassValue = 'calendrier_aucune_actu_courante';
35			}
36
37			$(this).cluetip(
38			{
39				attribute: 'rel',
40				showTitle: false, // pas de titre
41				clickThrough: activeLink, // le lien reste actif
42				cluetipClass: cluetipClassValue,
43				dropShadow: false,
44
45				fx: {
46					open: 'fadeIn',
47					openSpeed: 200
48				},
49
50				ajaxCache: false,
51				ajaxSettings: {
52					type: 'get',
53					data: paramData
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.