1$(document).ready(function(){ 2 //Width image && TAG position 3 $(window).resize(function() { 4 resizeImgcc19(); 5 }); 6 function resizeImgcc19(){ 7 divImageMobile = $('.attraction-container__title > .image-container').width(); 8 heightImage = $('.attraction-container__title > .image-container img').height(); 9 windowWidth = $(window).width(); 10 $('.cc19_offers').each(function (index, element) { 11 marginIzq = parseInt($(".container",element).css("margin-right")); 12 divImage = $('.cc19_row .image-container',element).width(); 13 if(windowWidth >= 567 && windowWidth <= 768) { 14 $('.cc19_row .image-container img',element).width(divImage + marginIzq -15); 15 } 16 //Eliminando los botones si no tienen texto 17 var mode = $("#edition").text(); 18 if(mode == "false"){ 19 textButttonI = $('.boton-izq span',element).text().length; 20 textButttonR = $('.boton-der span',element).text().length; 21 if(textButttonI == 0){ 22 $('.boton-izq',element).hide(); 23 } 24 if(textButttonR == 0){ 25 $('.boton-der',element).hide(); 26 } 27 backgroundColor = $('#backgroundImg').val(); 28 selectBack = $('#selectBack').val(); 29 if(backgroundColor != ''){ 30 //$(this).css('background-color', backgroundColor); 31 } 32 } 33 }); 34 35 // else if(windowWidth <= 768 && windowWidth >= 567) { 36 // $('.image-container img').width(divImageMobile + 30); 37 // $('.attraction-container__queue .tag').css('top', - heightImage ); 38 // } else { 39 // $('.image-container img').width(divImageMobile + 24); 40 // $('.queue-time .tag').css('top', - heightImage ); 41 // } 42 } 43 resizeImgcc19(); 44 //Cambio el div de los precios a otro div en tablet y movil 45 $('.cc19_row').each(function () { 46 if(windowWidth <= 768) { 47 $('.price-container',this).appendTo($('.colocar-price',this)); 48 $('.price-container',this).removeClass('col-sm-3 col-12'); 49 } 50 }); 51 52 53 var nameComponentCC19 = $("#nameComponentCC19").val(); 54 var urlModDis = window.location.href; 55 var namePark = $("#parkmnemonic").val(); 56 $(".offer-controls").find(".button01").each(function(i, val){ 57 $(val).click(function(){ 58 dataLayer.push({ 59 'category': 'Interaccion', 60 'action': nameComponentCC19, 61 'label': 'click', 62 'event': 'eventga', 63 'urlmodule': urlModDis, 64 'slidername': $(this).text(), 65 'Gate': namePark, 66 }); 67 }); 68 }); 69 $(".image-container").find("img").addClass("img-fluid"); 70});
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.