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

Sites Pertecentes a (o) MG

Recomendações Avaliadas
1.1 Respeitar os Padrões Web.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
1.1.3 Presença de CSS(s) in-line 13 78 81 84 134 141 142 142 147 201 280 540 804 806
1.1.4 Presença de CSS(s) interno 4 107 332 475 703
1.1.5 Presença de javascript(s) in-line 5 432 456 541 751 769
1.1.6 Presença de javascript(s) interno 6 179 426 433 458 583 770
78 <![CDATA[<table class="itembanner" style="border: 0px solid black;" align="center" cellpadding="0" cellspacing="0"> <tbody><tr> <td><a href="http://www.mg.gov.br/" target="_blank"><img src="/saps/plc/css/img/minasonline.jpg" alt="Minas online" hspace="7" vspace="5" style="border: 0px solid green;"></a></td> </tr> </tbody></table>]]>
81 <![CDATA[<img src="/saps/plc/css/img/minasonline.jpg" alt="Minas online" hspace="7" vspace="5" style="border: 0px solid green;">]]>
84 <![CDATA[<table class="itembanner" style="border: 0px solid black;" align="center" cellpadding="0" cellspacing="0"> <tbody><tr> <!-- <td><a href="http://www.mg.gov.br/" target="_blank"><img src="/saps/plc/css/img/govminas.jpg" style="border: 0px solid green;" alt="Governo minas" vspace="0" hspace="5"></a></td> --> </tr> </tbody></table>]]>
134 <![CDATA[<td width="300" height="18" background="/saps/plc/css/ipsm/midia/microtop_top.jpg" style="padding-left:13px"> </td>]]>
141 <![CDATA[<td width="300" height="18" background="/saps/plc/css/ipsm/midia/microtop_top.jpg" align="right" style="padding-right:13px"> <a href="mailto: atendimento@prodemge.gov.br" style="color:#FFFFFF;">Suporte</a> | <a href="inicial.do?evento=cookie" style="color:#FFFFFF;">Principal</a> </td>]]>
142 <![CDATA[<a href="mailto: atendimento@prodemge.gov.br" style="color:#FFFFFF;">Suporte</a>]]>
142 <![CDATA[<a href="inicial.do?evento=cookie" style="color:#FFFFFF;">Principal</a>]]>
147 <![CDATA[<table width="100%" cellspacing="0" border="0" cellpadding="0" style="margin-top:1px; margin-bottom:2px"> <tr> <td align="left" background="/saps/plc/css/ipsm/midia/micro_fundo.jpg" width="450"></td> <td align="center" background="/saps/plc/css/ipsm/midia/micro_fundo.jpg"> ; ; ; ;</td> <td align="right" width="1%"><img src="/saps/plc/css/ipsm/midia/micro_top.jpg"></td> </tr> </table>]]>
201 <![CDATA[<div id="masterdiv" style="margin-top:0px"> </span> </span> </span> </div>]]>
280 <![CDATA[<td valign="top" width="81%" style="padding-left: 5px;"> <form name="cadastrarbeneficiarioForm" method="post" action="/saps/cadastrarbeneficiarioman.do" enctype="text/html" onsubmit="return executarAcaoFuncoes(event)"><input type="hidden" name="org.apache.struts.taglib.html.TOKEN" value="f1d6352075cd76ab84cf392f334ca738"> <input type="hidden" name="modoPlc" value="inclusaoPlc"> <!-- Retornar se nao houver melhor forma de identificar portlets em uma mesma pagina --> <!-- html:hidden property="< %=PlcConstantes.PORTLET_KEY% >" /> --> <!-- Controle de submissao duplicada utilizando token da Struts --> <input type="hidden" name="detCorrPlc" value=""> <style> td.msg_confirma{background:#D8E5ED;color:#144888;font:bold 11px Verdana} td.msg_erro{background:#FFDBDB;color:#AB3838;font:normal bold 11px Verdana;height:auto} td.msg_erro_ver{background:#89B39C;color:#FFFFFF;font:normal bold 11px Verdana;height:auto} td.msg_erro_am{background:#FFFEAF;color:#413A01;font:normal bold 11px Verdana;height:auto} </style> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="tdTituloSecao">Cadastro de Beneficiário</td> </tr> </table> <!-- PARA MANTER ESPAÇAMENTO ENTRE OS BOTÕES COLOCAR TAG SCRIPT PARA REGISTRO DE BOTÕES--> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr><td> <table border="0" cellpadding="0" cellspacing="0" class="menu_acoes"> <tr><td> <input type="submit" name="evento" value="F7-Novo" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> regBotaoEvento('F7-Novo','INCLUIR'); </script> <input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> setBotaoAcaoEnter('F10-Gravar'); regBotaoEvento('F10-Gravar','GRAVAR'); </script> <input type="button" name="evento" value="F12-Imprimir" onclick="setBotaoAcao(getBotaoArray('IMPRIMIR'));chamarImpressao('/saps/plc/impressaoPlc.do;jsessionid=BD8CA7E8421DD107DC1BEDCD26D8CC29?evento=F12-Imprimir&indImp=N',document.title,'impressao');" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> regBotaoEvento('F12-Imprimir','IMPRIMIR'); </script> </td> </tr> </table> <!-- JANELA DE AJUDA --> <style> div#ajuda{ width: 200px; background: #F8D1CB; border-bottom: 2px solid #DC3823; margin: 0; padding: 0 0 15px 0; z-index: 5; position: absolute; right: 10px; } div#ajuda h1{ position: relative; height: 30px; color: #FFF; margin: 0 0 5px 0; font: bold 18px/30px Tahoma, Arial, Verdana, sans-serif; padding: 0 5px 0 10px; background: #DC3823; border-bottom: 2px solid #FFF; } div#ajuda h1 span{ height: 20px; font: bold 11px/16px Verdana, Tahoma, Arial, sans-serif; padding: 0 5px 0 5px; position: absolute; cursor: pointer; right: 5px; top: 5px; color: #FFF; background: #CA230D; border-top: 1px solid #F04933; border-right: 1px solid #A41C0B; border-bottom: 1px solid #A41C0B; border-left: 1px solid #F04933; } div#ajuda h2{ height: 28px; font: bold 18px/28px Tahoma, Arial, Verdana, sans-serif; margin: 10px 5px 10px 20px; padding: 0 0 0 5px; color: #DC3823; background: #FFF; letter-spacing: 0px; } div#ajuda p{ font: 11px/14px Verdana, Tahoma, Arial, sans-serif; color: #DC3823; margin: 0 5px 10px 35px; } div#ajuda input{ height: 20px; font: bold 11px/15px Verdana, Tahoma, Arial, sans-serif; padding: 0; margin: 0 5px 0 35px; cursor: pointer; color: #FFF; background: #CA230D; border-top: 1px solid #F04933; border-right: 1px solid #A41C0B; border-bottom: 1px solid #A41C0B; border-left: 1px solid #F04933; } </style> <div id="ajuda" style="visibility: hidden"> <h1>Ajuda <span class="fechar" onclick="janelaAjuda(ajuda);">X</span></h1> </div> <!-- FIM JANELA DE AJUDA --> </td></tr></table> <!-- INI --> <table width="100%" class="delimitador" border="0" cellspacing="0" cellpadding="0"> <script> function Mascara(tipo, campo, teclaPress) { if (window.event) { var tecla = teclaPress.keyCode; } else { tecla = teclaPress.which; } var s = new String(campo.value); // Remove todos os caracteres à seguir: ( ) / - . e espaço, para tratar a string denovo. s = s.replace(/(\.|\(|\)|\/|\-| )+/g,''); tam = s.length + 1; if ( tecla != 9 && tecla != 8 ) { switch (tipo) { case 'CPF' : if (tam > 3 && tam < 7) campo.value = s.substr(0,3) + '.' + s.substr(3, tam); if (tam >= 7 && tam < 10) campo.value = s.substr(0,3) + '.' + s.substr(3,3) + '.' + s.substr(6,tam-6); if (tam >= 10 && tam < 12) campo.value = s.substr(0,3) + '.' + s.substr(3,3) + '.' + s.substr(6,3) + '-' + s.substr(9,tam-9); break; case 'INTEIRO' : campo.value = s; break; case 'CNPJ' : if (tam > 2 && tam < 6) campo.value = s.substr(0,2) + '.' + s.substr(2, tam); if (tam >= 6 && tam < 9) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,tam-5); if (tam >= 9 && tam < 13) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,3) + '/' + s.substr(8,tam-8); if (tam >= 13 && tam < 15) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,3) + '/' + s.substr(8,4)+ '-' + s.substr(12,tam-12); break; case 'TEL' : if (tam > 2 && tam < 4) campo.value = '(' + s.substr(0,2) + ') ' + s.substr(2,tam); if (tam >= 7 && tam < 11) campo.value = '(' + s.substr(0,2) + ') ' + s.substr(2,4) + '-' + s.substr(6,tam-6); break; case 'DATA' : if (tam > 2 && tam < 4) campo.value = s.substr(0,2) + '/' + s.substr(2, tam); if (tam > 4 && tam < 11) campo.value = s.substr(0,2) + '/' + s.substr(2,2) + '/' + s.substr(4,tam-4); break; case 'CEP' : if (tam > 5 && tam < 7) campo.value = s.substr(0,5) + '-' + s.substr(5, tam); break; case 'TEMPO_MILISEGUNDOS': var ret = ""; var val = campo.value.replace(/[^\d]+/gi,''); var mask = '#:##.###' for(var x=0,y=0, z=mask.length;x<z && y<val.length;){ if(mask.charAt(x)!='#'){ ret += mask.charAt(x); x++; } else{ ret += val.charAt(y); y++; x++; } } campo.value = ret; break; case 'MONETARIO' : var ret = ""; var val = campo.value.replace(/[^\d]+/gi,'').reverse(); var mask = '##.###' for(var x=0,y=0, z=mask.length;x<z && y<val.length;){ if(mask.charAt(x)!='#'){ ret += mask.charAt(x); x++; } else{ ret += val.charAt(y); y++; x++; } } campo.value = ret.reverse(); break; } } } //--->Função para verificar se o valor digitado é número...<--- function digitos(event){ if (window.event) { // IE key = event.keyCode; } else if ( event.which ) { // netscape key = event.which; } if ( key != 8 || key != 13 || key < 48 || key > 57 ) return ( ( ( key > 47 ) && ( key < 58 ) ) || ( key == 8 ) || ( key == 13 ) ); return true; } </script> <style> div.sucesso { font-family: Verdana; font-size: 11px; font-style: normal; font-weight: bold; height: 37px; vertical-align: middle; padding: 5px; margin-left: 5px; color: #144888; background: #D8E5ED; border: 2px solid #698AB3; } </style> <tr> <td class="titulo" >Número Beneficiário (Matrícula - 9 dígitos) </td> </tr> <tr> <td class="campo" > <input type="text" name="numeroBeneficiario" size="15" value="" class="texto_obrigatorio" title="Número Beneficiário"> </td> </tr> <tr> <td class="titulo" >CPF </td> </tr> <tr> <td class="campo" > <input type="text" name="cpf" size="15" value="" class="texto_obrigatorio" title="CPF"> </td> </tr> <tr> <td class="titulo" >Data Nascimento </td> </tr> <tr> </td> <td class="campo" > <input type="text" name="dataNascimento" size="15" value="" onkeydown="return validaCaracter(event, 'D');" onkeyup="Mascara('DATA',this,event);" onkeypress="return digitos(event, this);" class="texto_obrigatorio" title="Data Nascimento"> <a href="#" onclick="abrirCalendario('/saps/recursos/calendario.jsp','dataNascimento'); return false;"><span class="bt">...</span></a> </td> </tr> <tr> <td class="titulo"> Email </td> </tr> <tr> <td class="campo" > <input type="text" name="email" size="50" value="" class="texto_obrigatorio" title="Email"> </td> </tr> <br/> <tr><td class="campo"></td></tr> <tr> <td class="campo" > <input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu"> <script> setBotaoAcaoEnter('F10-Gravar'); regBotaoEvento('F10-Gravar','GRAVAR'); </script> </td> </tr> </table> <!-- FIM --> </form> </td>]]>
540 <![CDATA[<div id="ajuda" style="visibility: hidden"> <h1>Ajuda <span class="fechar" onclick="janelaAjuda(ajuda);">X</span></h1> </div>]]>
804 <![CDATA[<table width="100%" border="0" cellspacing="0" cellpadding="0" style="padding-top: 5px;"> <tr> <td align="center" class="rodape" width="70%"><a href="http://www.prodemge.gov.br" target="_blank"><img src="/saps/plc/css/ipsm/midia/prodemge_assina.gif" style="padding-bottom: 1px;" border="0" title="Tecnologia Prodemge"></a><br> <br> </tr> </table>]]>
806 <![CDATA[<img src="/saps/plc/css/ipsm/midia/prodemge_assina.gif" style="padding-bottom: 1px;" border="0" title="Tecnologia Prodemge">]]>
107 <![CDATA[<style type="text/css"> #cabecalho td {font-family:Verdana, Arial; font-size:10px; color:white} .submenu{display: none;} td.msg_confirma{background:#D8E5ED;color:#144888;font:bold 11px Verdana} td.msg_erro{background:#FFDBDB;color:#AB3838;font:normal bold 11px Verdana;height:auto} td.msg_erro_ver{background:#89B39C;color:#FFFFFF;font:normal bold 11px Verdana;height:auto} td.msg_erro_am{background:#FFFEAF;color:#413A01;font:normal bold 11px Verdana;height:auto} </style>]]>
332 <![CDATA[<style> td.msg_confirma{background:#D8E5ED;color:#144888;font:bold 11px Verdana} td.msg_erro{background:#FFDBDB;color:#AB3838;font:normal bold 11px Verdana;height:auto} td.msg_erro_ver{background:#89B39C;color:#FFFFFF;font:normal bold 11px Verdana;height:auto} td.msg_erro_am{background:#FFFEAF;color:#413A01;font:normal bold 11px Verdana;height:auto} </style>]]>
475 <![CDATA[<style> div#ajuda{ width: 200px; background: #F8D1CB; border-bottom: 2px solid #DC3823; margin: 0; padding: 0 0 15px 0; z-index: 5; position: absolute; right: 10px; } div#ajuda h1{ position: relative; height: 30px; color: #FFF; margin: 0 0 5px 0; font: bold 18px/30px Tahoma, Arial, Verdana, sans-serif; padding: 0 5px 0 10px; background: #DC3823; border-bottom: 2px solid #FFF; } div#ajuda h1 span{ height: 20px; font: bold 11px/16px Verdana, Tahoma, Arial, sans-serif; padding: 0 5px 0 5px; position: absolute; cursor: pointer; right: 5px; top: 5px; color: #FFF; background: #CA230D; border-top: 1px solid #F04933; border-right: 1px solid #A41C0B; border-bottom: 1px solid #A41C0B; border-left: 1px solid #F04933; } div#ajuda h2{ height: 28px; font: bold 18px/28px Tahoma, Arial, Verdana, sans-serif; margin: 10px 5px 10px 20px; padding: 0 0 0 5px; color: #DC3823; background: #FFF; letter-spacing: 0px; } div#ajuda p{ font: 11px/14px Verdana, Tahoma, Arial, sans-serif; color: #DC3823; margin: 0 5px 10px 35px; } div#ajuda input{ height: 20px; font: bold 11px/15px Verdana, Tahoma, Arial, sans-serif; padding: 0; margin: 0 5px 0 35px; cursor: pointer; color: #FFF; background: #CA230D; border-top: 1px solid #F04933; border-right: 1px solid #A41C0B; border-bottom: 1px solid #A41C0B; border-left: 1px solid #F04933; } </style>]]>
703 <![CDATA[<style> div.sucesso { font-family: Verdana; font-size: 11px; font-style: normal; font-weight: bold; height: 37px; vertical-align: middle; padding: 5px; margin-left: 5px; color: #144888; background: #D8E5ED; border: 2px solid #698AB3; } </style>]]>
432 <![CDATA[<input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
456 <![CDATA[<input type="button" name="evento" value="F12-Imprimir" onclick="setBotaoAcao(getBotaoArray('IMPRIMIR'));chamarImpressao('/saps/plc/impressaoPlc.do;jsessionid=BD8CA7E8421DD107DC1BEDCD26D8CC29?evento=F12-Imprimir&indImp=N',document.title,'impressao');" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
541 <![CDATA[<span class="fechar" onclick="janelaAjuda(ajuda);">X</span>]]>
751 <![CDATA[<a href="#" onclick="abrirCalendario('/saps/recursos/calendario.jsp','dataNascimento'); return false;"><span class="bt">...</span></a>]]>
769 <![CDATA[<input type="submit" name="evento" value="F10-Gravar" onclick="setBotaoAcao(getBotaoArray('GRAVAR'));" onmouseover="try{animar(event , '2')}catch(e){}" onmouseout="try{animar(event , '')}catch(e){}" id="botao_menu">]]>
179 <![CDATA[<script type="text/javascript"> if (document.getElementById){ document.write('<style type="text/css">\n') document.write('.submenu{display: none;}\n') document.write('</style>\n') } function SwitchMenu(obj){ if(document.getElementById){ var el = document.getElementById(obj); var ar = document.getElementById("masterdiv").getElementsByTagName("span"); if(el.style.display != "block"){ for (var i=0; i<ar.length; i++){ if (ar[i].className=="submenu") ar[i].style.display = "none"; } el.style.display = "block"; }else{ el.style.display = "none"; } } } </script>]]>
426 <![CDATA[<script> regBotaoEvento('F7-Novo','INCLUIR'); </script>]]>
433 <![CDATA[<script> setBotaoAcaoEnter('F10-Gravar'); regBotaoEvento('F10-Gravar','GRAVAR'); </script>]]>
458 <![CDATA[<script> regBotaoEvento('F12-Imprimir','IMPRIMIR'); </script>]]>
583 <![CDATA[<script> function Mascara(tipo, campo, teclaPress) { if (window.event) { var tecla = teclaPress.keyCode; } else { tecla = teclaPress.which; } var s = new String(campo.value); // Remove todos os caracteres à seguir: ( ) / - . e espaço, para tratar a string denovo. s = s.replace(/(\.|\(|\)|\/|\-| )+/g,''); tam = s.length + 1; if ( tecla != 9 && tecla != 8 ) { switch (tipo) { case 'CPF' : if (tam > 3 && tam < 7) campo.value = s.substr(0,3) + '.' + s.substr(3, tam); if (tam >= 7 && tam < 10) campo.value = s.substr(0,3) + '.' + s.substr(3,3) + '.' + s.substr(6,tam-6); if (tam >= 10 && tam < 12) campo.value = s.substr(0,3) + '.' + s.substr(3,3) + '.' + s.substr(6,3) + '-' + s.substr(9,tam-9); break; case 'INTEIRO' : campo.value = s; break; case 'CNPJ' : if (tam > 2 && tam < 6) campo.value = s.substr(0,2) + '.' + s.substr(2, tam); if (tam >= 6 && tam < 9) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,tam-5); if (tam >= 9 && tam < 13) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,3) + '/' + s.substr(8,tam-8); if (tam >= 13 && tam < 15) campo.value = s.substr(0,2) + '.' + s.substr(2,3) + '.' + s.substr(5,3) + '/' + s.substr(8,4)+ '-' + s.substr(12,tam-12); break; case 'TEL' : if (tam > 2 && tam < 4) campo.value = '(' + s.substr(0,2) + ') ' + s.substr(2,tam); if (tam >= 7 && tam < 11) campo.value = '(' + s.substr(0,2) + ') ' + s.substr(2,4) + '-' + s.substr(6,tam-6); break; case 'DATA' : if (tam > 2 && tam < 4) campo.value = s.substr(0,2) + '/' + s.substr(2, tam); if (tam > 4 && tam < 11) campo.value = s.substr(0,2) + '/' + s.substr(2,2) + '/' + s.substr(4,tam-4); break; case 'CEP' : if (tam > 5 && tam < 7) campo.value = s.substr(0,5) + '-' + s.substr(5, tam); break; case 'TEMPO_MILISEGUNDOS': var ret = ""; var val = campo.value.replace(/[^\d]+/gi,''); var mask = '#:##.###' for(var x=0,y=0, z=mask.length;x<z && y<val.length;){ if(mask.charAt(x)!='#'){ ret += mask.charAt(x); x++; } else{ ret += val.charAt(y); y++; x++; } } campo.value = ret; break; case 'MONETARIO' : var ret = ""; var val = campo.value.replace(/[^\d]+/gi,'').reverse(); var mask = '##.###' for(var x=0,y=0, z=mask.length;x<z && y<val.length;){ if(mask.charAt(x)!='#'){ ret += mask.charAt(x); x++; } else{ ret += val.charAt(y); y++; x++; } } campo.value = ret.reverse(); break; } } } //--->Função para verificar se o valor digitado é número...<--- function digitos(event){ if (window.event) { // IE key = event.keyCode; } else if ( event.which ) { // netscape key = event.which; } if ( key != 8 || key != 13 || key < 48 || key > 57 ) return ( ( ( key > 47 ) && ( key < 58 ) ) || ( key == 8 ) || ( key == 13 ) ); return true; } </script>]]>
770 <![CDATA[<script> setBotaoAcaoEnter('F10-Gravar'); regBotaoEvento('F10-Gravar','GRAVAR'); </script>]]>