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

Sites Pertecentes a (o) PA

Endereço Nota Erros Avisos

oriximina.pa.gov.br/licitacao.php

73.8 80 415
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 10 39 150 360 1018 1352 1366 1423 1480 1515 1620
39 <![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>]]>
150 <![CDATA[<script> function googleTranslateElementInit() { new google.translate.TranslateElement({ pageLanguage: 'pt', autoDisplay: false, includedLanguages: 'de,es,fr,en,it', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element'); } </script>]]>
360 <![CDATA[<script> $(document).ready(function() { $(window).scroll(function() { if ($(this).scrollTop() > 100) { $("#top-bar").fadeOut(); $("#logo-top-bar").fadeOut(); $('#scroll').fadeIn(); } else { $("#top-bar").fadeIn(); $("#logo-top-bar").fadeIn(); $('#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>]]>
1018 <![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>]]>
1352 <![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>]]>
1366 <![CDATA[<script type="text/javascript"> google.charts.load("current", { packages: ['corechart', 'bar'] }); google.charts.setOnLoadCallback(drawChart); function drawChart() { ano = document.getElementById('valano').value; var jsonData = $.ajax({ type: "POST", url: "licitacao_grafico.php", data: { ano: ano }, dataType: "json", async: false }).responseText; //var obj = $.parseJSON(jsonData); var data = google.visualization.arrayToDataTable($.parseJSON(jsonData)); var view = new google.visualization.DataView(data); view.setColumns([0, 1]); var options = { title: "Quantidade de licitações por modalidade", height: 400, chartArea: { width: '85%' }, legend: { position: "none", }, colors: ['#004080'], fontSize: 12, viewWindow: { min: [7, 30, 0], max: [17, 30, 0] }, hAxis: { title: 'Quantidade de processos', minValue: 0 }, textStyle: { bold: true, fontSize: 12, color: '#FFFFFF' }, }; var chart = new google.visualization.ColumnChart(document.getElementById("chart_div")); chart.draw(view, options); } </script>]]>
1423 <![CDATA[<script type="text/javascript"> google.charts.load("current", { packages: ['corechart', 'bar'] }); google.charts.setOnLoadCallback(Chart); function Chart() { ano = document.getElementById('valorano').value; var jsonData = $.ajax({ type: "POST", url: "contrato_grafico.php", data: { ano: ano }, dataType: "json", async: false }).responseText; //var obj = $.parseJSON(jsonData); var data = google.visualization.arrayToDataTable($.parseJSON(jsonData)); var view = new google.visualization.DataView(data); view.setColumns([0, 1]); var options = { title: "Quantidade de contratos por modalidade", height: 400, width: 1000, chartArea: { width: '85%' }, legend: { position: "none", }, colors: ['#004080'], viewWindow: { min: [7, 30, 0], max: [17, 30, 0] }, hAxis: { title: 'Quantidade de processos', minValue: 0 }, textStyle: { bold: true, fontSize: 12, color: '#FFFFFF' }, }; var chart = new google.visualization.ColumnChart(document.getElementById("chart")); chart.draw(data, options); } </script>]]>
1480 <![CDATA[<script> /* var acc = document.getElementsByClassName("accordion"); var i; for (i = 0; i < acc.length; i++) { acc[i].addEventListener("click", function () { this.classList.toggle("active"); var panel = this.nextElementSibling; if (panel.style.display === "block") { panel.style.display = "none"; } else { panel.style.display = "block"; } }); } */ </script>]]>
1515 <![CDATA[<script type="text/javascript" language="javascript"> 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)); $("#idano").change(function() { $("#valano").val($(this).val()); google.charts.load("current", { packages: ['corechart', 'bar'] }); google.charts.setOnLoadCallback(drawChart); }); $("#idanoC").change(function() { $("#valorano").val($(this).val()); google.charts.load("current", { packages: ['corechart', 'bar'] }); google.charts.setOnLoadCallback(Chart); }); }); $("#Rcpf").click(function(e) { $("#cpfcnpj").mask("999.999.999-99"); }); $("#Rcnpj").click(function(e) { $("#cpfcnpj").mask("99.999.999/9999-99"); }); $("#Rcnpj").click(function(e) { $("#fone").mask("99-99999.9999"); }); $("#checkId").click(function(e) { if ($("#checkId").is(':checked')) { $("#formdownload").hide(); $("#btnSend").html('Prosseguir com o download'); } else { $("#formdownload").show(); $("#btnSend").html('Desejo me identificar'); } }); $('#btnSend').click(function() { if ($("#checkId").is(':checked')) { $('#nome').val('checked'); $("#formdownloadForm").submit(); } else { var cpf = $('#cpfcnpj').val(); var nome = $('#nome').val(); var email = $('#email').val(); var tel = $('#fone').val(); if (cpf === "") { $("#erros").html('<div class="alert alert-danger"> Forneça o CPF/CNPJ </div>'); return false; } if (nome.indexOf(" ") === -1) { $("#erros").html('<div class="alert alert-danger"> Nome invalido </div>'); return false; } if (nome.length < 10) { $("#erros").html('<div class="alert alert-danger"> Nome invalido </div>'); return false; } if (email === "") { $("#erros").html('<div class="alert alert-danger"> O endereço de email fornecido é invalido </div>'); return false; } if (tel === "") { $("#erros").html('<div class="alert alert-danger"> Forneça o Telefone </div>'); return false; } $.post("download_arquivos.php?id=&pg=", $("#formdownloadForm").serialize()); } }); </script>]]>
1620 <![CDATA[<script> $(function() { /* Custom buttons */ $('#font-setting-buttons').easyView({ container: 'body, #rels, #tablink .row', increaseSelector: '.increase-me', decreaseSelector: '.decrease-me', normalSelector: '.reset-me', contrastSelector: '.change-me' }); }); </script>]]>