1$(function() { 2 3 4 5 $("#fontBig").click(function() 6 { 7 $(".font-menu").css({"font-size":"20px"}); 8 $(".font-menu-sub").css({"font-size":"20px","line-height":"37px"}); 9 $("body").css({"font-size":"22px"}); 10 $(".font-x-small").css({"font-size":"22px","line-height":"37px"}); 11 $(".font-small").css({"font-size":"22px","line-height":"37px"}); 12 $(".font-text").css({"font-size":"22px","line-height":"37px"}); 13 $(".font-large").css({"font-size":"28px","line-height":"45px"}); 14 $(".font-x-large").css({"font-size":"28px","line-height":"45px"}); 15 $(".globalText").css({"font-size":"22px","line-height":"37px","padding":"100px 0"}); 16 $(".userMenuTel").hide(); 17 $.cookie("font","fontBig", {expires: 1}); 18 19 }); 20 21 if($.cookie("font")=='fontBig') { 22 $(".font-menu").css({"font-size":"20px"}); 23 $(".font-menu-sub").css({"font-size":"20px","line-height":"37px"}); 24 $("body").css({"font-size":"22px"}); 25 $(".font-x-small").css({"font-size":"22px","line-height":"37px"}); 26 $(".font-small").css({"font-size":"22px","line-height":"37px"}); 27 $(".font-text").css({"font-size":"22px","line-height":"37px"}); 28 $(".font-large").css({"font-size":"28px","line-height":"45px"}); 29 $(".font-x-large").css({"font-size":"28px","line-height":"45px"}); 30 $(".globalText").css({"font-size":"22px","line-height":"37px","padding":"100px 0"}); 31 $(".userMenuTel").hide(); 32 } 33 34 $("#fontNormal").click(function() 35 { 36 $.cookie("font","normal", {expires: 1}); 37 location.reload(); 38 }); 39 40 $("#fontSmall").click(function() 41 { 42 $(".font-menu").css({"font-size":"12px"}); 43 $(".font-menu-sub").css({"font-size":"12px","line-height":"20px"}); 44 $("body").css({"font-size":"12px"}); 45 $(".font-text").css({"font-size":"12px","line-height":"25px"}); 46 $(".font-x-small").css({"font-size":"12px","line-height":"25px"}); 47 $(".font-small").css({"font-size":"12px","line-height":"25px"}); 48 $(".font-text").css({"font-size":"12px","line-height":"25px"}); 49 $(".font-large").css({"font-size":"12px","line-height":"25px"}); 50 $(".font-x-large").css({"font-size":"12px","line-height":"25px"}); 51 $(".globalText").css({"font-size":"12px","line-height":"25px","padding":"40px 0"}); 52 $.cookie("font","fontSmall", {expires: 1}); 53 }); 54 55 56 if($.cookie("font")=='fontSmall') { 57 $(".font-menu").css({"font-size":"12px"}); 58 $(".font-menu-sub").css({"font-size":"12px","line-height":"20px"}); 59 $("body").css({"font-size":"12px"}); 60 $(".font-text").css({"font-size":"12px","line-height":"25px"}); 61 $(".font-x-small").css({"font-size":"12px","line-height":"25px"}); 62 $(".font-small").css({"font-size":"12px","line-height":"25px"}); 63 $(".font-text").css({"font-size":"12px","line-height":"25px"}); 64 $(".font-large").css({"font-size":"12px","line-height":"25px"}); 65 $(".font-x-large").css({"font-size":"12px","line-height":"25px"}); 66 $(".globalText").css({"font-size":"12px","line-height":"25px","padding":"40px 0"}); 67 } 68 69 70 $("#contrastButton").click(function() 71 { 72 73 $("body").attr('id', 'contrast'); 74 $('header img, footer img, img.w21').each(function(){ 75 var $this = $(this) 76 $this.attr('src',$this.attr('src').replace('website','website-contrast')) 77 }) 78 79 $('#contrastButton').hide(); 80 $('#graficButton').show(); 81 82 $.cookie("contrast","contrast", {expires: 1}); 83 84 }); 85 86 if($.cookie("contrast")=='contrast') 87 { 88 89 $("body").attr('id', 'contrast'); 90 $('header img, footer img, img.w21').each(function(){ 91 var $this = $(this) 92 $this.attr('src',$this.attr('src').replace('website','website-contrast')) 93 }) 94 $('#contrastButton').hide(); 95 $('#graficButton').show(); 96 } 97 98 $("#graficButton").click(function() 99 { 100 101 $("body").removeAttr('id', 'contrast'); 102 103 $('header img, footer img, img.w21').each(function(){ 104 var $this = $(this) 105 $this.attr('src',$this.attr('src').replace('website-contrast','website')) 106 }) 107 108 $('#contrastButton').show(); 109 $('#graficButton').hide(); 110 111 $.cookie("contrast","normal", {expires: 1}); 112 113 }); 114 115 116 117 118 119 120 121 122}); 123 124 125document.body.addEventListener('mousedown', function() { 126 document.body.classList.add('using-mouse'); 127}); 128
129// Re-enable focus styling when Tab is pressed 130document.body.addEventListener('keydown', function(event) { 131 if (event.keyCode === 9) { 132 document.body.classList.remove('using-mouse'); 133 } 134});
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.