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 7 226 292 495 501 521 533 543
1.1.4 Presença de CSS(s) interno 2 190 211
1.1.6 Presença de javascript(s) interno 10 73 74 107 112 178 293 324 396 567 570
226 <![CDATA[<img src="/daeonline/resources/images/logo-daeonline.png" style="display:none;width:0px;" alt="Secretaria de Estado de Fazenda de Minas Gerais" align="middle" title="Secretaria de Estado de Fazenda de Minas Gerais">]]>
292 <![CDATA[<div id="errosPlaceholder" style="display:none;"> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery("#alertamensagem").find("a:first").bind("vclick",function(event){ event.preventDefault(); var collapsible = jQuery("#alertamensagem"); var collapsed = collapsible.collapsible("option","collapsed"); //se estiver aberto, entao fechar-lo!!! if( collapsed == false ){ jQuery("#errosPlaceholder").fadeOut("slow"); collapsible.collapsible("option","collapsed",true); }else{ collapsible.collapsible("option","collapsed",false); } return false; }); }); </script> <fieldset id="alertamensagem" data-role="collapsible" data-theme="d" data-collapsed="false" data-content-theme="d" > <legend>Alerta</legend> <div id="errosContainer"> <ul id="mensagensErros"></ul> </div> </fieldset> <br> </div>]]>
495 <![CDATA[<div data-role="popup" id="popupInfoChaveAcesso" class="ui-content" data-theme="d" data-mini="true" style="max-width:1000px;"> <p id="chaveAcessoInfoMsg"><p>NF-e versão 2.00, leioute da composição da chave de acesso:</p><table border='1' style='border: 1px solid black; border-collapse: collapse; font-family:inherit; font-size:70%' ><tr><th></th><th>Código da UF</th><th>AAMM da emissão</th><th>CNPJ do Emitente</th><th>Modelo</th><th>Série</th><th>Número da NF-e</th><th>forma de emissão da NF-e</th><th>Código Numérico</th><th>DV</td></tr><tr> <td align="center">Quantidade de dígito</td> <td align="center">02</td> <td align="center">04</td> <td align="center">14</td> <td align="center">02</td> <td align="center">03</td> <td align="center">09</td><td align="center">01</td> <td align="center">08</td> <td align="center">01</td></tr></table></p> </div>]]>
501 <![CDATA[<table border='1' style='border: 1px solid black; border-collapse: collapse; font-family:inherit; font-size:70%' ><tr><th></th><th>Código da UF</th><th>AAMM da emissão</th><th>CNPJ do Emitente</th><th>Modelo</th><th>Série</th><th>Número da NF-e</th><th>forma de emissão da NF-e</th><th>Código Numérico</th><th>DV</td></tr><tr> <td align="center">Quantidade de dígito</td> <td align="center">02</td> <td align="center">04</td> <td align="center">14</td> <td align="center">02</td> <td align="center">03</td> <td align="center">09</td><td align="center">01</td> <td align="center">08</td> <td align="center">01</td></tr></table>]]>
521 <![CDATA[<div id="container_recaptcha_a" class="ui-block-a" style="text-aling:center;"> <div data-role="none" data-enhance="false" data-ajax="false"> <div class="g-recaptcha" data-sitekey="6LdclAgTAAAAALqvqsxODpjjIdgL4cid5Dg0rbUB" id="recaptcha" data-theme="light" data-type="image" ></div> </div> </div>]]>
533 <![CDATA[<div style="text-align:center;"> <a href="#" id="submit" data-mini="true" data-inline="true" data-role="button" data-icon="check" data-iconpos="right" data-ajax="false">Continuar</a> <a href="#" id="limpar" data-mini="true" data-inline="true" data-role="button" data-icon="minus" data-iconpos="right" data-ajax="false">Limpar</a> </div>]]>
543 <![CDATA[<div style="display: none;"> <input type="hidden" name="actionRetornar" id="actionRetornar" value="Home.action" /> </div>]]>
190 <![CDATA[<style type="text/css"> *{ font-family: 'Open Sans', Helvetica, Arial, sans-serif ; } </style>]]>
211 <![CDATA[<style type="text/css"> .no-app{ display: none; visibility: hidden; } </style>]]>
73 <![CDATA[<script type="text/javascript">jQuery.noConflict();</script>]]>
74 <![CDATA[<script type="text/javascript"> jQuery(document).on("mobileinit",function(){ jQuery.mobile.pageLoadErrorMessage = "Um erro aconteceu, tente novamente."; jQuery.mobile.loader.prototype.options.text = "Carregando..."; jQuery.mobile.loader.prototype.options.textVisible = true; jQuery.mobile.loader.prototype.options.theme = "a"; jQuery.mobile.loader.prototype.options.html = ""; }); </script>]]>
107 <![CDATA[<script type="text/javascript"> jQuery(document).bind("contextmenu",function(event){ return true; }); </script>]]>
112 <![CDATA[<script type="text/javascript"> var validNavigation = false; function wireUpEvents() { window.onbeforeunload = function() { if (!validNavigation) { return ''; } }; } jQuery(document).ready(function(){ jQuery(document).bind('keypress', function(event) { if (event.keyCode == 116){ validNavigation = true; } }); jQuery("input[type='text']").bind("change", function(event) { validNavigation = false; }); jQuery("select").bind("change", function(event) { validNavigation = false; jQuery.mobile.activePage.focus(); }); jQuery("a").bind("vclick", function(event) { //event.preventDefault(); validNavigation = true; //return false; }); jQuery("form").bind("submit", function(event) { validNavigation = true; }); jQuery("input[type=submit]").bind("vclick", function(event) { //event.preventDefault(); validNavigation = true; //return false; }); wireUpEvents(); }); var RecaptchaOptions = { theme : 'red', lang: 'pt', callback: function(){ jQuery("#container_recaptcha_a").find('a').removeClass("ui-link"); jQuery("#container_recaptcha_a").find('a').attr("data-role","none"); jQuery("#recaptcha_response_field").removeClass("ui-input-text ui-body-a"); jQuery("#recaptcha_response_field").attr("data-role","none"); jQuery(".recaptcha_input_area").find("div").removeClass("ui-input-text ui-shadow-inset ui-corner-all ui-btn-shadow ui-body-a"); jQuery(".recaptcha_input_area").find("div").attr("data-role","none"); jQuery("#recaptcha_image").css('line-height', '110%'); } }; jQuery(document).ready(function($){ var deviceAgent = navigator.userAgent.toLowerCase(); var agentID = deviceAgent.match(/(iphone|ipod|ipad|android)/); if (agentID) { jQuery("#footer_container").hide(); } else { jQuery("#footer_container").show(); } }); </script>]]>
178 <![CDATA[<script type="text/javascript"> jQuery(window).load(function(){ try{ if(Recaptcha){ Recaptcha.reload("t"); } }catch(ex){ } }); // Desabilita o clique duplo no menu. jQuery(document).ready(function(){ jQuery("*").dblclick(function(e){ e.preventDefault(); }); }); </script>]]>
293 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function(){ jQuery("#alertamensagem").find("a:first").bind("vclick",function(event){ event.preventDefault(); var collapsible = jQuery("#alertamensagem"); var collapsed = collapsible.collapsible("option","collapsed"); //se estiver aberto, entao fechar-lo!!! if( collapsed == false ){ jQuery("#errosPlaceholder").fadeOut("slow"); collapsible.collapsible("option","collapsed",true); }else{ collapsible.collapsible("option","collapsed",false); } return false; }); }); </script>]]>
324 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function(){ var btnReset = jQuery("#limpar"); btnReset.bind("vclick",function(event){ event.preventDefault(); jQuery("#formulario").get(0).reset(); return false; }); var btnSubmit = jQuery("#submit"); btnSubmit.bind("vclick",function(event){ jQuery(this).addClass("ui-disabled"); jQuery(".ui-loader").loader("resetHtml"); jQuery(".ui-loader").loader("option","text","Carregando..."); jQuery(".ui-loader").loader("show"); //jQuery("body").addClass("ui-loading"); event.preventDefault(); var formulario = jQuery("#formulario"); formulario.validate(); if(formulario.valid()){ jQuery("#formulario").submit(); //prevents too many submits. jQuery(this).addClass("ui-disabled"); return true; }else{ // Controlando abertura do painel de mensagem de alertas jQuery("#errosContainerServidor").remove(); jQuery("#errosPlaceholder").show(); jQuery(this).removeClass("ui-disabled"); jQuery(".ui-loader").loader("hide"); //jQuery("body").removeClass("ui-loading"); return false; } }); jQuery('#formulario').validate({ rules: { recaptcha_response_field: "required" }, messages: { recaptcha_response_field : "O campo 'Recaptcha' é de preenchimento obrigatório." }, errorContainer: jQuery('#errosContainer'), errorLabelContainer: jQuery('#errosContainer ul'), wrapper: 'li', showErrors:function(errorMap, errorList){ var collapsible = jQuery("#alertamensagem"); var collapsed = collapsible.collapsible("option","collapsed"); if(errorList.length != 0){ this.defaultShowErrors(); collapsible.trigger("expand"); jQuery("html,body").animate({ scrollTop: 0 }, "slow"); }else{ //se estiver aberto, entao fechar-lo!!! if( collapsed == false ){ jQuery("#errosPlaceholder").fadeOut("slow"); } } } }); }); </script>]]>
396 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function(){ var valorJuros = jQuery('#valorSugerido'); valorJuros.mask('000.000.000,00', {reverse: true}); valorJuros.bind("blur",function(){ var valor = jQuery.trim(jQuery(this).val()); if( valor.length != 0 ) { valor = valor.replace(/\./gi, ''); valor = valor.replace(',', '.'); valor = (parseFloat(valor)); jQuery(this).val(''); jQuery(this).val(valor.toFixed(2)); jQuery(this).mask('000.000.000,00', {reverse: true}); } }); var chassi = jQuery("#chassi"); chassi.val(""); jQuery("#formulario").validate(); chassi.rules("add",{ required: true , maxlength: 17 , minlength: 17 , messages:{ required: "O campo 'Chassi' é de preenchimento obrigatório." , maxlength: "O campo 'Chassi' deve possuir tamanho de 17 dígitos.", minlength: "O campo 'Chassi' deve possuir tamanho de 17 dígitos." } }); chassi.keydown(function(event){ return isDigitsLettersOnKeyDownEvent(this,event); }); chassi.keyup(function(event){ return isDigitsLettersOnKeyUpEvent(this,event); }); chassi.bind("drop",function(event){ event.preventDefault(); return false; }); var chaveAcesso = jQuery("#chaveAcesso"); chaveAcesso.val(""); jQuery("#formulario").validate(); chaveAcesso.rules("add",{ required: true , minlength: 44 , messages:{ required: "O campo 'Chave de Acesso NF-e' é de preenchimento obrigatório." , minlength: "O campo 'Chave de Acesso' deve possuir tamanho de 44 dígitos." } }); // chaveAcesso.keydown(function(event){ // return isDigitsOnKeyDownEvent(this,event); // }); // chaveAcesso.keyup(function(event){ // return isDigitsOnKeyUpEvent(this,event); // }); chaveAcesso.bind("drop",function(event){ event.preventDefault(); return false; }); }); </script>]]>
567 <![CDATA[<script type="text/javascript"> jQuery("#recaptcha_area").css({"margin-left":"auto","margin-right":"auto","text-align":"center"}); </script>]]>
570 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function(){ jQuery("#comandoRetornar").bind("vclick",function(event){ event.preventDefault(); var action = jQuery("#actionRetornar").val(); var formulario = jQuery("#formulario"); if(formulario.length > 0){ formulario.validate().cancelSubmit = true; formulario.attr('action', action); formulario.submit(); } return false; }); jQuery("#comandoHome").bind("vclick",function(event){ var link = jQuery(this); link.attr("href","/daeonline/Home.action"); return true; }); }); </script>]]>