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

Sites Pertecentes a (o) SP

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 11 10 479 867 873 931 959 1055 1094 1508 3587 3592
10 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-102028188-1'); </script>]]>
479 <![CDATA[<script> now = new Date; var anoCorrente = now.getFullYear(); // >> Altera o novo valor de UFESP e a última linha da seção: Instruções para Regularização, Item 8 << if (now.getFullYear() == 2021) { var DOE = ''; var ufesp = ''; var DOE = "Diário Oficial do Estado (DOE) Nº 251 de 18 de dezembro de 2020 - Página 38"; var ufesp = 29.09; }else{ var DOE = ''; var ufesp = ''; var DOE = "Diário Oficial do Estado (DOE) Nº 241 de 18 de dezembro de 2021 - Página 23"; var ufesp = 31.97; }; var PTS = (ufesp * 3.840).toFixed(2); document.write("<p style='font-size:15px; font-weight:bold;color:#F00;'>Para Projeto Técnico Simplificado o valor fixado é de R$ "+PTS+" (Até 750 m²), acima dessa área o valor será de 0,006 X UFESP por m².</p><p style='font-size:15px; font-weight:bold; color:#F00;'>Para Análise de Comissão Técnica (CTPI/CTUI/CTAA) o valor é de 0,005 X UFESP por m².</p>"); function CalcTxAnaliseNew() { var tx = document.getElementById("txAnaliseNew"); var vl = document.getElementById("txAnaliseResultNew"); if(isNaN(tx.value)) { alert("Informe somente números, utilizando ponto como separador decimal."); tx.focus(); } else if(tx.value == '') { alert("Informe a área total construída."); tx.focus(); } else { if (tx.value > 750) { MED = tx.value * 0.006 * ufesp; } else { MED = 3.84 * ufesp; } vl.innerHTML = "<small>Valor: R$</small> <b>"+ MED.toFixed(2) + "</b>"; } } function CalcTxVistoriaNew() { var txV = document.getElementById("txVistoriaNew"); var vlV = document.getElementById("txVistoriaResultNew"); if(isNaN(txV.value)) { alert("Informe somente números, utilizando ponto como separador decimal."); txV.focus(); } else if(txV.value == '') { alert("Informe a área total construída."); txV.focus(); } else { if (txV.value > 750) { MEDv = txV.value * 0.006 * ufesp; } else { MEDv = 3.84 * ufesp; } vlV.innerHTML = "<small>Valor: R$</small> <b>"+ MEDv.toFixed(2) + "</b>"; } } function CalcCT() { var txCt = document.getElementById("txCT"); var vlCt = document.getElementById("txCTResult"); if(isNaN(txCt.value)) { alert("Informe somente números, utilizando ponto como separador decimal."); txCt.focus(); } else if(txCt.value == '') { alert("Informe a área total construída."); txCt.focus(); } else { // if (txCt.value > 750) { MEDv = txCt.value * 0.005 * ufesp; // } // else { // MEDv = 3.84 * ufesp; // } vlCt.innerHTML = "<small>Valor: R$</small> <b>"+ MEDv.toFixed(2) +"</b>"; } } function Clear1(){ document.getElementById("txAnaliseNew").value = ''; document.getElementById("txAnaliseResultNew").innerHTML = "<b>Taxa</b>"; } function Clear2(){ document.getElementById("txVistoriaNew").value = ''; document.getElementById("txVistoriaResultNew").innerHTML = "<b>Taxa</b>"; } function Clear3(){ document.getElementById("txCT").value = ''; document.getElementById("txCTResult").innerHTML = "<b>Taxa</b>"; } </script>]]>
867 <![CDATA[<script> $(".clear").click(function() { $("input").val(""); $(".result_consulta").hide(); }); </script>]]>
873 <![CDATA[<script> $(function() { $("#consulta-a").autocomplete({ source: "search-a.php?tipo=auto", focus: function(event, ui) { // prevent autocomplete from updating the textbox event.preventDefault(); // manually update the textbox // $(this).val(ui.item.label); }, select: function(event, ui) { // prevent autocomplete from updating the textbox event.preventDefault(); // manually update the textbox and hidden field $(this).val(ui.item.empty); $(".result_consulta_link small").text(ui.item.label); $(".result_consulta_link").attr("href", ui.item.value); $(".result_consulta").show(); $("#legis_vigor").val(0); $("#doc_vigor").val(0); $("#vigor_txt").text(""); $("#link1").hide(); $("#legis_anterior").val(0); $("#doc_anterior").val(0); $("#anterior_txt").text(""); $("#link2").hide(); $(".fa-download").addClass("text-danger"); } }); $("#consulta-v").autocomplete({ source: "search-v.php?tipo=auto", focus: function(event, ui) { // prevent autocomplete from updating the textbox event.preventDefault(); // manually update the textbox // $(this).val(ui.item.label); }, select: function(event, ui) { // prevent autocomplete from updating the textbox event.preventDefault(); // manually update the textbox and hidden field $(this).val(ui.item.empty); $(".result_consulta_link small").text(ui.item.label); $(".result_consulta_link").attr("href", ui.item.value); $(".result_consulta").show(); $("#legis_vigor").val(0); $("#doc_vigor").val(0); $("#vigor_txt").text(""); $("#link1").hide(); $("#legis_anterior").val(0); $("#doc_anterior").val(0); $("#anterior_txt").text(""); $("#link2").hide(); $(".fa-download").addClass("text-danger"); } }); }); </script>]]>
931 <![CDATA[<script> $("#vigor").click(function(){ $("#vigor_1").toggle("slow"); $("#vigor").toggleClass("btn-info btn-danger"); $("#anterior").addClass("btn-info"); $("#anterior").removeClass("btn-danger"); $("#anterior_txt").text(""); $("#anterior_1").hide(); $("#proposta_1").hide(); $(".result_consulta").hide(); $("#legis_anterior").val(0); $("#doc_anterior").load('search-v.php?tipo=ajax&sit=2&cod='); $("#link2").hide(); }); $("#anterior").click(function(){ $("#vigor_1").hide(); $("#anterior_1").toggle("slow"); $("#anterior").toggleClass("btn-info btn-danger"); $("#vigor").addClass("btn-info"); $("#vigor").removeClass("btn-danger"); $("#vigor_txt").text(""); $("#proposta_1").hide(); $(".result_consulta").hide(); $("#legis_vigor").val(0); $("#doc_vigor").load('search-a.php?tipo=ajax&sit=1&cod='); $("#link1").hide(); }); </script>]]>
959 <![CDATA[<script> $("#legis_vigor").change(function(){ $("#doc_vigor").load('search-v.php?tipo=ajax&sit=1&cod=' + $(this).val()); $("#vigor_txt").text($("#legis_vigor option:selected").text()); }); $("#legis_anterior").change(function(){ $("#doc_anterior").load('search-a.php?tipo=ajax&sit=2&cod=' + $(this).val()); $("#anterior_txt").text($("#legis_anterior option:selected").text()); }) $("#doc_vigor").change(function(){ $.ajax({ url: "search-v.php?tipo=link&sit=1&cod=" +$(this).val(), type: "GET" }).done(function(msg){ $("#link_vigor").attr("href", msg[0].value); $("#link_vigor span").text(msg[0].label); $("#link1").show(); }); }); $("#doc_anterior").change(function(){ $.ajax({ url: "search-a.php?tipo=link&sit=2&cod=" +$(this).val(), type: "GET" }).done(function(msg){ $("#link_anterior").attr("href", msg[0].value); $("#link_anterior span").text(msg[0].label); $("#link2").show(); }); }); </script>]]>
1055 <![CDATA[<script> $("#comissao_show").click(function(){ $("#comissao_div").toggle(); }); </script>]]>
1094 <![CDATA[<script> $("#modelo_show").click(function(){ $("#modelo_div").toggle(); }); </script>]]>
1508 <![CDATA[<script> document.write("A partir de <strong>01 de janeiro de "+anoCorrente+"</strong> o valor da UFESP será de <strong>R$ "+ufesp+"</strong>, conforme publicado no <strong>"+DOE+"</strong>.<br><br>"); </script>]]>
3587 <![CDATA[<script> now = new Date; document.write (now.getFullYear()); </script>]]>
3592 <![CDATA[<script> // Animations initialization // new WOW().init(); jQuery("document").ready(function($){ var nav = $('#go-top'); $(window).scroll(function () { if ($(this).scrollTop() >= 150) { nav.addClass("visible"); nav.removeClass("waves-effect"); } else { nav.removeClass("visible"); nav.removeClass("waves-effect"); } }); }); </script>]]>