1var slide = 0; 2 3$(document).ready(function() { 4 5 _id_ctaContratar = 'fiber-and-mobile-1-hire'; 6 7 // Select Rate Default 8 $('.buttons #fiber-and-mobile-1, .buttons #offert').css({color:'#39ff14',pointerEvents:'none',cursor:'default'}); 9 $('.buttons #fiber-and-mobile-1 .selected, .buttons #offert .selected').css({width:'100%'}); 10 $('.contentOffert .offert .description .title').html(fiber_and_mobile_title); 11 $('.contentOffert .offert .description .sub').html(fiber_and_mobile_1_detail); 12 $('#fiber-and-mobile-offer .ctaContratar').attr('id','fiber-and-mobile-1-hire'); 13 $('#fiber-and-mobile-offer .ctaInfo').attr('id','fiber-and-mobile-1-info'); 14 15 $('#popup-info .info-fiber, #popup-info .info-mobile, #popup-info .info-promo').css({display:'inline-block'}); 16 $('#popup-info #popup-title').html(fiber_and_mobile_1_title_popup); 17 18 print_text_popup('fibra-movil','info',fiber_and_mobile_1_info_popup); 19 print_text_popup('fibra-movil','mobile',fiber_and_mobile_1_mob_popup); 20 print_text_popup('fibra-movil','promo',fiber_and_mobile_1_promo_popup); 21 22 $('#popup-info .legal').html(fiber_and_mobile_1_legal_popup); 23 24 // Select Rate 25 $('.buttons .row1 .inline').click(function(){ 26 27 var _this = $(this).attr('id'); 28 TweenMax.to($(this).siblings(),0.25,{color:'#000000',ease:Power4.easeOut}); 29 TweenMax.to($(this).siblings().find('.selected'),0.2,{width:0,ease:Power4.easeOut}); 30 $(this).css({pointerEvents:'none',cursor:'default'}); 31 $(this).siblings().css({pointerEvents:'auto',cursor:'pointer'}); 32 TweenMax.to($(this),0.25,{color:'#39ff14',ease:Power4.easeOut}); 33 TweenMax.to($(this).find('.selected'),0.2,{width:'100%',ease:Power4.easeOut}); 34 35 36 // $('.imgOffert .bag').attr('src',ruta_absoluta+'img/fibra_movil/bags/' + _this + '.png'); 37 38 switch(_this){ 39 case 'fiber-and-mobile-1': 40 $('.description .sub').html(fiber_and_mobile_1_detail); 41 $('#fiber-and-mobile-offer .ctaContratar').attr('id','fiber-and-mobile-1-hire'); 42 $('#fiber-and-mobile-offer .ctaInfo').attr('id','fiber-and-mobile-1-info'); 43 $('.imgOffert .bag').attr('src',ruta_absoluta+'img/fibra_movil/bags/tarifa-fibra-movil-lemmon-1.png'); 44 $('.imgOffert .bag').attr('alt','Tarifa Fibra 600MB más móvil'); 45 $('.imgOffert .bag').attr('title','Tarifa Fibra 600MB más móvil'); 46 _id_ctaContratar = 'fiber-and-mobile-1-hire'; 47 48 $('#popup-info #popup-title').html(fiber_and_mobile_1_title_popup); 49 $('#popup-info #popup-info-text-fiber p, #popup-info #popup-info-text-mobile p, #popup-info #popup-promo-text p').remove(); 50 print_text_popup('fibra-movil','info',fiber_and_mobile_1_info_popup); 51 print_text_popup('fibra-movil','mobile',fiber_and_mobile_1_mob_popup); 52 print_text_popup('fibra-movil','promo',fiber_and_mobile_1_promo_popup); 53 54 $('#popup-info .legal').html(fiber_and_mobile_1_legal_popup); 55 fiber_and_mobile_selected = '100mb_plus_mobile'; 56 break; 57 case 'fiber-and-mobile-2': 58 $('.description .sub').html(fiber_and_mobile_2_detail); 59 $('#fiber-and-mobile-offer .ctaContratar').attr('id','fiber-and-mobile-2-hire'); 60 $('#fiber-and-mobile-offer .ctaInfo').attr('id','fiber-and-mobile-2-info'); 61 $('.imgOffert .bag').attr('src',ruta_absoluta+'img/fibra_movil/bags/lemmon-fibra-movil-2a.png'); 62 $('.imgOffert .bag').attr('alt','Tarifa Fibra 300MB más móvil'); 63 $('.imgOffert .bag').attr('title','Tarifa Fibra 300MB más móvil'); 64 _id_ctaContratar = 'fiber-and-mobile-2-hire'; 65 66 $('#popup-info #popup-title').html(fiber_and_mobile_2_title_popup); 67 $('#popup-info #popup-info-text-fiber p, #popup-info #popup-info-text-mobile p, #popup-info #popup-promo-text p').remove(); 68 print_text_popup('fibra-movil','info',fiber_and_mobile_2_info_popup); 69 print_text_popup('fibra-movil','mobile',fiber_and_mobile_2_mob_popup); 70 print_text_popup('fibra-movil','promo',fiber_and_mobile_2_promo_popup); 71 72 $('#popup-info .legal').html(fiber_and_mobile_2_legal_popup); 73 fiber_and_mobile_selected = '300mb_plus_mobile'; 74 break; 75 case 'fiber-and-mobile-3': 76 $('.description .sub').html(fiber_and_mobile_3_detail); 77 $('#fiber-and-mobile-offer .ctaContratar').attr('id','fiber-and-mobile-3-hire'); 78 $('#fiber-and-mobile-offer .ctaInfo').attr('id','fiber-and-mobile-3-info'); 79 $('.imgOffert .bag').attr('src',ruta_absoluta+'img/fibra_movil/bags/tarifa-fibra-movil-lemmon-3.png'); 80 $('.imgOffert .bag').attr('alt','Tarifa Fibra 1GB más móvil'); 81 $('.imgOffert .bag').attr('title','Tarifa Fibra 1GB más móvil'); 82 _id_ctaContratar = 'fiber-and-mobile-3-hire'; 83 84 $('#popup-info #popup-title').html(fiber_and_mobile_3_title_popup); 85 $('#popup-info #popup-info-text-fiber p, #popup-info #popup-info-text-mobile p, #popup-info #popup-promo-text p').remove(); 86 print_text_popup('fibra-movil','info',fiber_and_mobile_3_info_popup); 87 print_text_popup('fibra-movil','mobile',fiber_and_mobile_3_mob_popup); 88 print_text_popup('fibra-movil','promo',fiber_and_mobile_3_promo_popup); 89 90 $('#popup-info .legal').html(fiber_and_mobile_3_legal_popup); 91 fiber_and_mobile_selected = '500mb_plus_mobile'; 92 break; 93 } 94 }); 95 96 97 // Scroll Down 98 $('#fiber-and-mobile-offer .arrow').click(function(){ 99 $('html,body').animate({scrollTop:$('#info-fiber-and-mobile').offset().top-80},300); 100 }); 101 102 103 // Go to HIRE 104 $('#fiber-and-mobile-offer .ctaContratar').click(function(){
105 if(device == 'dsk'){ 106 $('#popup-coverage').fadeIn(100); 107 } 108 else{ 109 $('#popup-coverage').removeClass('center'); 110 TweenMax.to($('#popup-coverage'),.3,{display:'block',bottom:0}); 111 } 112 normalizer_coverage(); 113 }); 114 115 116 // TV Slider 117 $('.tv-fiber-slider .arrow-left').on('click',function(){ 118 TweenMax.to($('#tv-fiber-slide-'+slide),.2,{opacity:0,ease:Power4.easeOut,onComplete:function(){ 119 slide--; 120 TweenMax.to($('#tv-fiber-slide-'+slide),.2,{opacity:1,ease:Power4.easeOut}); 121 TweenMax.to($('.tv-fiber-slider .bullets .bg-bullet'),.3,{transform:'scale(0)',ease:Power4.easeOut,onUpdate:function(){ 122 TweenMax.to($('.tv-fiber-slider .bullets #bullet-'+slide+' .bg-bullet'),.3,{transform:'scale(1)',ease:Power4.easeOut}); 123 }}); 124 125 if(slide == 0){ 126 $('.tv-fiber-slider .arrow-left').fadeOut(20); 127 } 128 }}); 129 $('.tv-fiber-slider .arrow-right').fadeIn(100); 130 }); 131 $('.tv-fiber-slider .arrow-right').on('click',function(){ 132 TweenMax.to($('#tv-fiber-slide-'+slide),.2,{opacity:0,ease:Power4.easeOut,onComplete:function(){ 133 slide++; 134 TweenMax.to($('#tv-fiber-slide-'+slide),.2,{opacity:1,ease:Power4.easeOut}); 135 TweenMax.to($('.tv-fiber-slider .bullets .bg-bullet'),.3,{transform:'scale(0)',ease:Power4.easeOut,onUpdate:function(){ 136 TweenMax.to($('.tv-fiber-slider .bullets #bullet-'+slide+' .bg-bullet'),.3,{transform:'scale(1)',ease:Power4.easeOut}); 137 }}); 138 139 if(slide == 2){ 140 $('.tv-fiber-slider .arrow-right').fadeOut(20); 141 } 142 }}); 143 $('.tv-fiber-slider .arrow-left').fadeIn(100); 144 145 }); 146 147 $('.contentOffert .offert .extra .coverage').hover( 148 function(){ 149 $('.contentOffert .offert .subb').css({width:'43vh'}); 150 }, 151 function(){ 152 $('.contentOffert .offert .subb').css({width:0}); 153 } 154 ); 155 156}); 157 158 159function init_anim_fibra_y_movil(){ 160 TweenMax.to($('.contentOffert .imgOffert .drop1'),.4,{transform:'scale(1)',right:'0vh',top:'-3vh',esase:Power4.easeOut}); 161 TweenMax.to($('.contentOffert .imgOffert .drop2'),.4,{transform:'scale(1)',right:'0.2vh',esase:Power4.easeOut}); 162}
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.