1function rendreDiaposInteractifs() { 2 let emplacement= document.getElementById("diapo-emph"); 3 let diapos= document.getElementsByClassName("diapo-img"); 4 5 if (emplacement != null && diapos != null) 6 { 7 emplacement.addEventListener("click",function() { 8 open(emplacement.dataset.open,"_blank"); 9 }) 10 11 for (let i = 0; i < diapos.length; i++) { 12 diapos[i].addEventListener("click", function () { 13 emplacement.src = diapos[i].src; 14 emplacement.dataset.open = diapos[i].dataset.open; 15 }); 16 } 17 } 18} 19 20document.addEventListener('DOMContentLoaded', function() { 21 rendreDiaposInteractifs(); 22});
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.