1$(document).ready(function() { 2 $(document).keypress(function (e) { 3 if (e.shiftKey && e.keyCode == 42){ 4 location.href = '/utils/ajax/contraste.php'; 5 } 6 7 if (e.shiftKey && e.keyCode == 43){ 8 aumentaFonte(); 9 } 10 11 if (e.shiftKey && (e.keyCode == 45 || e.keyCode == 95)){ 12 diminuiFonte(); 13 } 14 }) 15 16 // aumentando a fonte 17 $(".inc-font").click(function () { 18 aumentaFonte(); 19 }); 20 21 //diminuindo a fonte 22 $(".dec-font").click(function () { 23 diminuiFonte(); 24 }); 25 26 // resetando a fonte 27 $(".res-font").click(function () { 28 $("body").animate({'font-size' : '10px'}); 29 }); 30}); 31 32function aumentaFonte() { 33 var size = $("body").css('font-size'); 34 35 size = size.replace('px', ''); 36 size = parseInt(size) + 1; 37 if (size < 24){ 38 $("body").animate({'font-size' : size + 'px'}); 39 40 $.ajax({ 41 url:"/utils/ajax/tamanho_fonte.php", 42 type:"POST", 43 data:"size="+ size, 44 dataType:"text" 45 }); 46 } 47} 48 49function diminuiFonte() { 50 var size = $("body").css('font-size'); 51 52 size = size.replace('px', ''); 53 size = parseInt(size) - 1; 54 if (size > 12){ 55 $("body").animate({'font-size' : size + 'px'}); 56 57 $.ajax({ 58 url:"/utils/ajax/tamanho_fonte.php", 59 type:"POST", 60 data:"size="+ size, 61 dataType:"text" 62 }); 63 } 64}
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.