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

Sites Pertecentes a (o) PB

Endereço Nota Erros Avisos

sttrans.patos.pb.gov.br/publicacoes/p16_sectionid/23

81.83 30 155
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 4 267 717 750 759
267 <![CDATA[<script language="javascript"> <!-- // Cross platform event handling for IE5+, NS6+, Mozilla/Gecko function p16_addEvent(elm, evType, fn, useCapture) { if(elm != null) { if(elm.addEventListener) { elm.addEventListener(evType, fn, useCapture); return true; } else if(elm.attachEvent) { var r = elm.attachEvent('on' + evType, fn); return r; } else { elm['on' + evType] = fn; } } } var p16_links = new Array(); p16_links[0] = new Array("/images/arquivos/documentos/1643913048.pdf","Visit /images/arquivos/documentos/1643913048.pdf website", 1); p16_links[1] = new Array("/images/arquivos/documentos/1639664250.pdf","Visit /images/arquivos/documentos/1639664250.pdf website", 1); p16_links[2] = new Array("/images/arquivos/documentos/1639592551.pdf","Visit /images/arquivos/documentos/1639592551.pdf website", 1); p16_links[3] = new Array("/images/arquivos/documentos/1633716430.pdf","Visit /images/arquivos/documentos/1633716430.pdf website", 1); p16_links[4] = new Array("/images/arquivos/documentos/1633716397.pdf","Visit /images/arquivos/documentos/1633716397.pdf website", 1); p16_links[5] = new Array("/images/arquivos/documentos/1633716369.pdf","Visit /images/arquivos/documentos/1633716369.pdf website", 1); p16_links[6] = new Array("/images/arquivos/documentos/1633716327.pdf","Visit /images/arquivos/documentos/1633716327.pdf website", 1); p16_links[7] = new Array("/images/arquivos/documentos/1633716297.pdf","Visit /images/arquivos/documentos/1633716297.pdf website", 1); p16_links[8] = new Array("/images/arquivos/documentos/1633716266.pdf","Visit /images/arquivos/documentos/1633716266.pdf website", 1); p16_links[9] = new Array("/images/arquivos/documentos/1633716232.pdf","Visit /images/arquivos/documentos/1633716232.pdf website", 1); p16_links[10] = new Array("/images/arquivos/documentos/1633716191.pdf","Visit /images/arquivos/documentos/1633716191.pdf website", 1); function p16_getlinkid(elm) { // "elm" is to be the DOM element, whose name has the unique ID // at it's end, separated by underscore "_": result = 0; if ((elm != undefined)) { var myid = new String(elm.id); myid = myid.split('_'); if (myid.length > 0) { result = myid[myid.length-1]; } } return result; } function p16_onLoad() { // Process anchor tags for links and their <td> table cell: for(i=0; i < p16_links.length; i++) { // Deactivate click on link ah = document.getElementById("p16_"+i); if ((ah != undefined)) { ah.href = "#"; ah.onclick = function(){return false;}; } // Assign click and mouse events to <td> tag: ah = document.getElementById("p16_links_"+i); if ((ah != undefined)) { ah.onclick = function(){ linkelement = p16_links[p16_getlinkid(this)]; if (linkelement[2] != 0) { window.open(linkelement[0],'link','status=1,toolbar=1,location=1,menubar=1,directories=1,resizable=1,scrollbars=1'); } else { window.location = linkelement[0]; } return false; }; ah.onmouseover = function(){ window.status = p16_links[p16_getlinkid(this)][0]; this.style.cursor = 'pointer'; this.style.cursor = 'hand'; this.style.background = '#e8e9ec'; } ah.onmouseout = function(){ window.status = ''; this.style.background = 'transparent'; } ah.title = p16_links[i][1]; } } } p16_addEvent(window, "load", p16_onLoad, false); //--> </script>]]>
717 <![CDATA[<script> $("#share").jsSocials({ showLabel: true, showCount: true, shares: [ "twitter", { share: "facebook", label: "Curta" }, "googleplus", "whatsapp" ] }); </script>]]>
750 <![CDATA[<script> jQuery('#confirm-delete').on('show.bs.modal', function(e) { $(this).find('.btn-ok').attr('href', $(e.relatedTarget).data('href')); }); </script>]]>
759 <![CDATA[<script type="text/javascript"> jQuery('.datepicker').datepicker({ endDate: '+1m', language: "pt-BR" }); if((jQuery("#data-inicial").val() != "") && (jQuery("#data-final").val() == "")){ jQuery("#data-inicial").val(""); alert("Você precisa informar as datas de início e fim."); } </script>]]>