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 5 226 292 788 800 810
1.1.4 Presença de CSS(s) interno 2 190 211
1.1.6 Presença de javascript(s) interno 11 73 74 107 112 178 293 324 397 470 834 837
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>]]>
788 <![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>]]>
800 <![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>]]>
810 <![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>]]>
397 <![CDATA[<script type="text/javascript"> jQuery(document).ready(function(){ var containerTipoIdentificador = jQuery("#container_tipo_identificador"); containerTipoIdentificador.css('display', 'none'); var containerIdentificador = jQuery("#container_identificador"); containerIdentificador.css('display', 'none'); var nossoNumero = jQuery("#nossoNumero"); nossoNumero.attr("maxlength", "13"); nossoNumero.val(""); jQuery("#formulario").validate(); jQuery("#nossoNumero").rules("add",{ required : true , validarTamanhoNossoNumero: true , messages:{ required : "O campo 'Número do Documento' é de preenchimento obrigatório." } }); jQuery.validator.addMethod("validarTamanhoNossoNumero", function(value, element) { if(value.length != 13){ return false; } return true; },"O campo 'Número do Documento' deve ter 13 posições."); nossoNumero.keydown(function(event){ return isDigitsOnKeyDownEvent(this,event); }); nossoNumero.keyup(function(event){ return isDigitsOnKeyUpEvent(this,event); }); //resolver problema de copia arraste mouse nossoNumero.bind("focusout",function(){ jQuery(this).val(this.value.match(/[0-9]*/)); }); nossoNumero.bind("drop", function(event){ event.preventDefault(); return false; }); var orgaoPublico = jQuery("#orgaoPublico"); orgaoPublico.val(""); orgaoPublico.selectmenu("refresh",true); jQuery("#formulario").validate(); jQuery("#orgaoPublico").rules("add",{ required: true , messages: { required : "O campo 'Orgão Público' é de preenchimento obrigatório." } }); var btnSubmit = jQuery("#submit"); btnSubmit.attr('target', '_new'); btnSubmit.bind("vclick",function(event){ event.preventDefault(); var formulario = jQuery("formulario"); formulario.submit(); return false; }); }); </script>]]>
470 <![CDATA[<script type="text/javascript"> create_selectmenu_dialog_filterable("orgaoPublico","Filtrar orgãos públicos...",true); </script>]]>
834 <![CDATA[<script type="text/javascript"> jQuery("#recaptcha_area").css({"margin-left":"auto","margin-right":"auto","text-align":"center"}); </script>]]>
837 <![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>]]>