Logo CEWEB.br Logo NIC.br Logo CGI.br
Home Sobre o projeto

Sites Pertecentes a (o) MA

Endereço Nota Erros Avisos

barreirinhas.ma.gov.br/ouvidoria.php

74.2 47 559
Recomendações Avaliadas
2.2 Garantir que os objetos programáveis sejam acessíveis.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
2.2.6 Presença do elemento SCRIPT sem o elemento NOSCRIPT 8 40 380 1270 1721 1738 1816 1902 1932
40 <![CDATA[<script> var tam = 15; function mudaFonte(tipo, elemento) { if (tipo == "mais") { if (tam < 24) tam += 1; } else { if (tam > 10) tam -= 1; } document.getElementById("Noticia").style.fontSize = tam + "px"; document.getElementById("Descricao").style.fontSize = tam + "px"; } function printDiv(id, pg, url) { var oPrint, oJan; oPrint = window.document.getElementById(id).innerHTML; oJan = window.open(pg); oJan.document.write(oPrint); oJan.document.write(url); oJan.window.print(); oJan.document.close(); oJan.focus(); } // Função contraste INICIO (function() { var Contrast = { storage: 'contrastState', cssClass: 'contrast', currentState: null, check: checkContrast, getState: getContrastState, setState: setContrastState, toogle: toogleContrast, updateView: updateViewContrast }; window.toggleContrast = function() { Contrast.toogle(); }; Contrast.check(); function checkContrast() { this.updateView(); } function getContrastState() { return localStorage.getItem(this.storage) === 'true'; } function setContrastState(state) { localStorage.setItem(this.storage, '' + state); this.currentState = state; this.updateView(); } function updateViewContrast() { var body = document.body; if (this.currentState === null) this.currentState = this.getState(); if (this.currentState) body.classList.add(this.cssClass); else body.classList.remove(this.cssClass); } function toogleContrast() { this.setState(!this.currentState); } })(); // Função contraste FIM </script>]]>
380 <![CDATA[<script> $(document).ready(function() { $(window).scroll(function() { if ($(this).scrollTop() > 100) { $("#logo-top-bar").css({ "margin-top": "-25.5Vh", "transition": ".4s", "z-index": "-2" }); $("#logo-top-bar").fadeOut("800"); $('#scroll').fadeIn(); } else { $("#logo-top-bar").fadeIn("800"); $("#logo-top-bar").css({ "margin-top": "0px" }); $('#scroll').fadeOut(); } }); $('#scroll').click(function() { $("html, body").animate({ scrollTop: 0 }, 0); return false; }); $('#menu-acessiblidade').hide().contents().hide(); $('#btnperq').on('click', function(e) { e.preventDefault(); $('#menu-acessiblidade').slideToggle('fast', function(e) { if ($(this).is(':visible')) { $(this).contents().fadeIn(1000); } else { $(this).contents().hide(); } }); }) }); </script>]]>
1270 <![CDATA[<script> shortcut.add("Alt+H", function() { window.location.assign("index.php"); }); shortcut.add("Alt+Shift+1", function() { window.location.assign("acessibilidade.php"); }); shortcut.add("Alt+9", function() { window.scrollTo(0, 0); }); shortcut.add("Alt+C", function() { window.location.href = '#ancora'; }); </script>]]>
1721 <![CDATA[<script> var cookies2 = document.cookie; if (cookies2.indexOf("usuarioCookiesPm") == -1) { document.getElementById('cookie-container').style.display = "flex"; } function fechaDiv(){ document.cookie = 'usuarioCookiesPm=SIM; max-age=86400;path=/'; $.post("data_cookies.php", { usercookies : "YES" }, function(msg){ }) document.getElementById('cookie-container').style.display = "none"; } </script>]]>
1738 <![CDATA[<script type="text/javascript"> google.charts.load("current", { packages: ['corechart', 'bar'] }); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ["Element", "Quantidade", { role: "style" }], ['Denúncias', 235, '#E4B30D'], ['Dúvidas', 55, '#E4B30D'], ['Reclamações', 48, '#E4B30D'], ['Serviços', 38, '#E4B30D'], ['Urgências', 23, '#E4B30D'], ['Críticas', 16, '#E4B30D'], ['Sugestões', 10, '#E4B30D'], ['Direito Do Consumidor', 6, '#E4B30D'], ['Elogios', 3, '#E4B30D'], ]); var view = new google.visualization.DataView(data); // Com decimais //decimalSymbol: ',', groupingSymbol: '.' var formatter = new google.visualization.NumberFormat({ pattern: '#', groupingSymbol: '.' }); formatter.format(data, 1); view.setColumns([0, 1, { calc: "stringify", sourceColumn: 1, type: "string", role: "annotation" }, 2 ]); var options = { title: "Estatística por tipo", is3D: true, height: 350, chartArea: { width: '85%', height: '70%' }, animation: { "startup": true, duration: 2000, easing: 'out' }, legend: { position: "none", }, viewWindow: { min: [7, 30, 0], max: [17, 30, 0] }, hAxis: { title: '', minValue: 0 }, textStyle: { bold: true, fontSize: 12, color: '#FFFFFF' }, }; var chart = new google.visualization.ColumnChart(document.getElementById("chart_div")); chart.draw(data, options); } </script>]]>
1816 <![CDATA[<script type="text/javascript"> google.charts.load("current", { packages: ['corechart', 'bar'] }); google.charts.setOnLoadCallback(drawChart); function drawChart() { var data = google.visualization.arrayToDataTable([ ["Element", "Quantidade", { role: "style" }], ['Muito satisfeito', 1, '#c0392b'], ]); var view = new google.visualization.DataView(data); // Com decimais //decimalSymbol: ',', groupingSymbol: '.' var formatter = new google.visualization.NumberFormat({ pattern: '#', groupingSymbol: '.' }); formatter.format(data, 1); view.setColumns([0, 1, { calc: "stringify", sourceColumn: 1, type: "string", role: "annotation" }, 2 ]); var options = { title: "Resultado da pesquisa", is3D: true, height: 350, chartArea: { width: '85%', height: '70%' }, animation: { "startup": true, duration: 2000, easing: 'out' }, legend: { position: "none", }, viewWindow: { min: [7, 30, 0], max: [17, 30, 0] }, hAxis: { title: '', minValue: 0 }, textStyle: { bold: true, fontSize: 12, color: '#FFFFFF' }, }; var chart = new google.visualization.ColumnChart(document.getElementById("chart_div_satis")); chart.draw(data, options); } </script>]]>
1902 <![CDATA[<script> jQuery(function($) { $("#dtini").mask("99/99/9999"); $("#dtfim").mask("99/99/9999"); }); $(document).ready(function() { (function($) { $('#filter').keyup(function() { var rex = new RegExp($(this).val(), 'i'); $('.linha').hide(); $('.linha').filter(function() { return rex.test($(this).text()); }).show(); }) }(jQuery)); }); </script>]]>
1932 <![CDATA[<script> $(function() { /* Custom buttons */ $('#font-setting').easyView({ container: 'body, .section, .container, .row, .col-md-6, .col-md-9, .col-md-12, #footer, #bottom', step: 10, bootstrap: true, increaseSelector: '.increase-me', decreaseSelector: '.decrease-me', normalSelector: '.reset-me', contrastSelector: '.change-me' }); }); </script>]]>