1function changeColor(){ 2 setTimeout(()=>{ 3 const cc = document.querySelectorAll(".background-cc25") 4 cc.forEach(item=>{ 5 item.style.visibility = "visible" 6 }) 7 }, 250) 8} 9 10document.addEventListener('DOMContentLoaded', function() { 11 changeColor() 12}); 13 14$(document).ready(function(){ 15 $('.cc25_bannercta .text-area').addClass('black-text-cc25'); 16 // ANALYTICS 17 //var host = window.location.href.split('/')[2]; 18 var url = window.location.href; 19 var titleComponent =$("#titleCTA").val(); 20 var title = $(".cc25_bannercta .cmp-title h2").text(); 21 //console.log(labelBotonView,titleAccordion); 22 $(".cc25_bannercta .btn-area .button1 .cmp-button").click(function(event){ 23 event.preventDefault(); 24 var label = $(this).children("span").text(); 25 var urlModDis = window.location.href; 26 var namePark = $("#parkmnemonic").val(); 27 var link = $(this).attr("href"); 28 dataLayer.push({ 29 'category': 'Interaccion', 30 'action': titleComponent, 31 'label': label, 32 'event': 'eventga', 33 'urlmodule': urlModDis, 34 'slidername':title, 35 'Gate': namePark, 36 }); 37 38 setTimeout(function() {window.location = link}, 200); 39 return false; 40 }) 41 42 //Add funnel class if template is funnel-page 43 const meta = document.querySelector('meta[name="template"][content="funnel-page"]'); 44 const cc25_bannerctaAll = document.querySelectorAll('.cc25_bannercta'); 45 if (meta && cc25_bannerctaAll.length) { 46 cc25_bannerctaAll.forEach( cc25_bannercta => cc25_bannercta.classList.add('funnel-page')); 47 } 48})
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.