PageSourceSearch

https://www.dublytransatlantiquegestion.com/fr/scripts/homepage.js

js dublytransatlantiquegestion.com collected 2026-10-10 02:19:35 UTC 2,730 bytes, 54 lines download raw bytes

1/****************************************/
2/********** Scripts BT 2017 *************/
3/****************************************/
4/* Description :                        */
5/*  - Scripts BT 2017                   */
6/* Responsabilité :                     */
7/*  - Équipe DIGITALE CM-CIC/FXL         */
8/****************************************/
9/**********************************************************************************************
10
11Lasts Modifs :
12/*  - 27/02/2018 : création             */
13/**********************************************************************************************
14
15Summary
161.  Ajout de ctxt-featured à certains blocs d'actus
172.  Création du cookie pour affichage d'un visuel aléatoire
18**********************************************************************************************/
19
20/*==========================================================================
211.  Ajout de ctxt-featured à certains blocs d'actus
22========================================================================== */
23$(document).ready(function() {
24	$("#actualites > .tiles > .tile:first-child").addClass("ctxt-featured");
25	$("#actualites > .tiles > .tile:last-child").addClass("ctxt-featured");
26
27});
28
29
30/*==========================================================================
312.  Création du cookie pour affichage d'un visuel aléatoire
32========================================================================== */
33function randomIntFromInterval(min,max)
34{
35    return Math.floor(Math.random()*(max-min+1)+min);
36}
37
38//Au premier affichage, ACE affiche l'image 1. Puis il vien lire la valeur du cookie généré ci dessous
39var i=randomIntFromInterval(1,3);//nombre entre 1 et 3
40var j=randomIntFromInterval(2,3);//nombre entre 2 et 3
41
42if(getCookie('btvhome') == null)
43	setCookie('btvhome',j);//si le cookie n'existe pas (premier affichage de la page), on limite la possibilitée de l'image à 2 ou 3 (puisque par défaut on affiche la 1)
44else
45	setCookie('btvhome',i);//sinon on prend un nombre entre 1 et 3
46
47
48/*
49	var tab_img=["/partage/partage_fr/CC/BT-2017/assets/accueils/homepage/entete_1280x384.jpg","/partage/partage_fr/CC/BT-2017/assets/accueils/homepage/entete_2_1280x384.jpg","/partage/partage_fr/CC/BT-2017/assets/accueils/homepage/entete_3_1280x384.jpg"]
50	var tab_img_2x=["/partage/partage_fr/CC/BT-2017/assets/accueils/homepage/entete_2560x768.jpg 2x","/partage/partage_fr/CC/BT-2017/assets/accueils/homepage/entete_2_2560x768.jpg 2x","/partage/partage_fr/CC/BT-2017/assets/accueils/homepage/entete_3_2560x768.jpg 2x"]
51	var i=Math.floor(Math.random() * 3);
52	$("figure.img img").attr("src",tab_img[i]);
53	$("figure.img img").attr("srcset",tab_img_2x[i]);
54*/

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.