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

Sites Pertecentes a (o) MG

Endereço Nota Erros Avisos

portaltransparencia.goncalves.mg.gov.br/SIC

89.76 7 72
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 99 99 231 234 268 418 419
1.1.6 Presença de javascript(s) interno 13 26 35 40 75 143 269 290 428 435 448 457 488 519
99 <![CDATA[<div style="overflow: hidden; position: relative; width: 980px; height: 165px;" id="master0"><div style="position: absolute; width: 980px; height: 165px; top: 0pt; left: 0pt; background-color: transparent; z-index: 1;" id="canvas0_0"><a id="hyp_imgRotativo" class="pnl_img" title="Ir para a página principal" href="http://portaltransparencia.goncalves.mg.gov.br/principal"><img src="//portalfacilarquivos.blob.core.windows.net/uploads/GONCALVESPORTALTRANSPARENCIA/painel/painel_0.jpg" alt="Painel do site" title="Ir para a página principal"/></a></div></div>]]>
99 <![CDATA[<div style="position: absolute; width: 980px; height: 165px; top: 0pt; left: 0pt; background-color: transparent; z-index: 1;" id="canvas0_0"><a id="hyp_imgRotativo" class="pnl_img" title="Ir para a página principal" href="http://portaltransparencia.goncalves.mg.gov.br/principal"><img src="//portalfacilarquivos.blob.core.windows.net/uploads/GONCALVESPORTALTRANSPARENCIA/painel/painel_0.jpg" alt="Painel do site" title="Ir para a página principal"/></a></div>]]>
231 <![CDATA[<img id="img_dtInicio" src="images/ico_calendario.gif" alt="Calendário" style="cursor:pointer;" />]]>
234 <![CDATA[<img id="img_dtFim" src="images/ico_calendario.gif" alt="Calendário" style="cursor:pointer;" />]]>
268 <![CDATA[<div id="hlp_dica" class="" style="left:0px;top:0px;display:none;width:550px;height:50px;position:absolute;"> <img alt="Ícone" src="images/help.gif" id="hlp_dicaIcon"/> <h6 id="hlp_dicaTitle">Dica</h6> <p id="hlp_dicaDescription">Preencha os campos corretamente.</p> <input type="hidden" id="hlp_dicaDescriptionDetail" /></div>]]>
418 <![CDATA[<div id="msg_mensagem_lock" class="msg_mensagem_lock" style="position: absolute; display:none; visibility: hidden; filter: alpha(opacity=70); -moz-opacity: 0.7; opacity: 0.7; background-color: gray; "></div>]]>
419 <![CDATA[<div id="msg_mensagem" style="position:absolute;display:none;visibility:hidden;height:155px;width:350px;" class="msg_mensagem" > <img id="msg_mensagem_loadingImage" src="images/loadingBar.gif" alt="Carregando..." class="msg_mensagem_loadingImage" /> <img id="msg_mensagem_icon" src="images/ico_check.gif" alt="Ícone" class="msg_mensagem_icon" /> <p id="msg_mensagem_text" class="msg_mensagem_text">Aguarde enquanto a sua solicitação é processada...</p> <span id="msg_mensagem_span_cancel"><a id="msg_mensagem_cancel" class="botao botao01" title="Confirmar">Cancelar</a></span> <span id="msg_mensagem_span_ok"><a id="msg_mensagem_ok" class="botao botao01" title="Ok">Ok</a></span> <span id="msg_mensagem_span_retry"><a id="msg_mensagem_retry" class="botao botao02" title="Confirmar">Tentar novamente</a></span> </div>]]>
26 <![CDATA[<script type="text/javascript"> AjaxPro.noUtcTime = true; </script>]]>
35 <![CDATA[<script type="text/javascript"> var siterel = ""; </script>]]>
40 <![CDATA[<script type="text/javascript"> //<![CDATA[ if (sessionStorage.getItem('stylename') != null) { document.getElementById('layoutsite').setAttribute('href', sessionStorage.getItem('stylename')); } else { document.getElementById('layoutsite').setAttribute('href', 'css/geral.css'); } //]]> </script>]]>
75 <![CDATA[<script type="text/javascript"> //<![CDATA[ var isEmpty = true; function buscar() { if (isEmpty) document.location = '/bus_ava.aspx?search='; else document.location = '/bus_ava.aspx?search=' + document.getElementById('uc_painel_buscar').value; } $(function () { document.getElementById("uc_painel_btn_buscar").onclick = buscar; }); if (document.getElementById("uc_painel_buscar").addEventListener) { document.getElementById("uc_painel_buscar").addEventListener('keyup', function () { if (document.getElementById('uc_painel_buscar').value.trim() == "") isEmpty = true; else isEmpty = false; }); } else { document.getElementById("uc_painel_buscar").attachEvent('onkeyup', function () { if (document.getElementById('uc_painel_buscar').value.trim() == "") isEmpty = true; else isEmpty = false; }); } //]]> </script>]]>
143 <![CDATA[<script> //<![CDATA[ (function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.0"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk')); //]]> </script>]]>
269 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function(){ var hlp_dicaIcon = document.getElementById("hlp_dicaIcon"); if(hlp_dicaIcon){ hlp_dicaIcon.onclick = function(){alert(document.getElementById('hlp_dicaDescriptionDetail').value);}; } })(); function AtivarAjuda(){ try{ if(!document.getElementById("chk_Ajuda").checked) document.getElementById("hlp_dica").style.display="none"; else document.getElementById("hlp_dica").style.display="block"; }catch(e){} } AtivarAjuda() //]]> </script>]]>
290 <![CDATA[<script type="text/javascript"> //<![CDATA[ // Persistencia de style nos labels validados var validatedControls = new Array(); var validatedItensLabel = new Array(); var validatedItensLabelStyle = new Array(); function SetUIMessage(title, description, descriptionDetail) { try { var uiMessage = document.getElementById("hlp_dica"); var uiMessageIcon = document.getElementById("hlp_dicaIcon"); var uiMessageTitle = document.getElementById("hlp_dicaTitle"); var uiMessageDescription = document.getElementById("hlp_dicaDescription"); // Alterando o título uiMessageTitle.removeChild(uiMessageTitle.firstChild); uiMessageTitle.appendChild(document.createTextNode(title)); // Alterando a descrição amigável uiMessageDescription.removeChild(uiMessageDescription.firstChild); uiMessageDescription.appendChild(document.createTextNode(description)); } catch(e){} } var isValid = false; function Validate(functionCustomValidate){ if(functionCustomValidate == null) isValid = true; else isValid = functionCustomValidate(); } // mantém a caixa da ajuda sempre na tela var fm_id='hlp_dica'; var target_y = -60; var target_x; var offset_x = 80; function SetElementPosition() { if (window.innerWidth) target_x = (window.innerWidth / 2) - 10; else if (document.all) target_x = document.body.clientWidth / 2; target_x = target_x - ((document.getElementById(fm_id).style.width.substring(0, document.getElementById(fm_id).style.width.indexOf("px")))/2) + offset_x; } SetElementPosition(); setInterval('SetElementPosition()', 20); var has_inner = typeof(window.innerWidth) == 'number'; var has_element = document.documentElement && document.documentElement.clientWidth; var floating_element = document.getElementById ? document.getElementById(fm_id) : document.all ? document.all[fm_id] : document.layers[fm_id]; var fm_shift_x, fm_shift_y, fm_next_x, fm_next_y; function MoveElement() { if (document.layers) { floating_element.left = fm_next_x; floating_element.top = fm_next_y; } else { floating_element.style.left = fm_next_x + 'px'; floating_element.style.top = fm_next_y + 'px'; } } function ComputeShifts() { fm_shift_x = has_inner ? pageXOffset : has_element ? document.documentElement.scrollLeft : document.body.scrollLeft; if (target_x < 0) fm_shift_x += has_inner ? window.innerWidth : has_element ? document.documentElement.clientWidth : document.body.clientWidth; fm_shift_y = has_inner ? pageYOffset : has_element ? document.documentElement.scrollTop : document.body.scrollTop; if (target_y < 0) fm_shift_y += has_inner ? window.innerHeight : has_element ? document.documentElement.clientHeight : document.body.clientHeight; } function FloatElement() { var step_x, step_y; ComputeShifts(); step_x = (fm_shift_x + target_x - fm_next_x) * .07; if (Math.abs(step_x) < .5) step_x = fm_shift_x + target_x - fm_next_x; step_y = (fm_shift_y + target_y - fm_next_y) * .07; if (Math.abs(step_y) < .5) step_y = fm_shift_y + target_y - fm_next_y; if (Math.abs(step_x) > 0 || Math.abs(step_y) > 0) { fm_next_x += step_x; fm_next_y += step_y; MoveElement(); } setTimeout('FloatElement()', 20); }; ComputeShifts(); if (document.layers) { // Netscape 4 cannot perform init move // when the page loads. fm_next_x = 0; fm_next_y = 0; } else { fm_next_x = fm_shift_x + target_x; fm_next_y = fm_shift_y + target_y; MoveElement(); } FloatElement(); //]]> </script>]]>
428 <![CDATA[<script type="text/javascript"> //<![CDATA[ MessageIcons.IconError = "images/ico_error.gif"; MessageIcons.IconInformation = "images/ico_check.gif"; MessageIcons.IconWarning = "images/ico_warning.gif"; Message.LoadingImage = "images/loadingBar.gif"; //]]> </script>]]>
435 <![CDATA[<script type="text/javascript"> //<![CDATA[ var arrImages = new Array(); var img = new Image; arrImages[0] = 'images/loadingBar.gif'; arrImages[1] = 'images/ico_error.gif'; arrImages[2] = 'images/ico_warning.gif'; arrImages[3] = 'images/ico_check.gif'; for(i = 0; i < arrImages.length; i++){img.src = arrImages[i]; } //]]> </script>]]>
448 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function(){ var buscar = document.getElementById("uc_painel_buscar"); buscar.onfocus = function(){if(this.value=='palavra-chave')this.value='';}; buscar.onblur = function(){if(this.value=='')this.value='palavra-chave';}; })(); //]]> </script>]]>
457 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function(){ var divMenu = document.getElementById("uc_menu_menu"); var nuNivelMax = 3; var nmClassMenu = ''; for(var j= 1; j <= nuNivelMax; j++) { nmClassMenu = 'mn_nivel_'+ (j < 10 ? '0' + j.toString() : j.toString()) + '_mais'; var menus = getElementsByClassName(nmClassMenu, 'li', divMenu); for (var i= 0; i< menus.length; i++) { if(menus[i].childNodes.length > 1 && menus[i].childNodes[0].tagName.toLowerCase() == 'a'){ menus[i].childNodes[0].onclick = function(){ var novaClasse = ''; if(this.parentNode.childNodes[1].style.display=='none'){ this.parentNode.childNodes[1].style.display='block'; novaClasse = this.parentNode.className.replace('mais','menos'); this.parentNode.className= novaClasse; }else{ this.parentNode.childNodes[1].style.display='none'; novaClasse = this.parentNode.className.replace('menos','mais'); this.parentNode.className= novaClasse; } return false; } } } } })(); //]]> </script>]]>
488 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function(){ })(); (function(){ var txt_dtInicio = document.getElementById("txt_dtInicio"); if(txt_dtInicio){ txt_dtInicio.onfocus = function(){try{SetUIMessage('Data da Solicitação:', 'Preenchimento opcional. Digite uma data válida.', '');}catch(e){} }; } })(); (function(){ var txt_dtFim = document.getElementById("txt_dtFim"); if(txt_dtFim){ txt_dtFim.onfocus = function(){try{SetUIMessage('Data da Solicitação:', 'Preenchimento opcional. Digite uma data válida.', '');}catch(e){} }; } })(); //]]> </script>]]>
519 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function (i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m) })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-8187826-26', 'auto'); ga('create', 'UA-34477479-25', 'auto', {'name':'b'}); ga('send', 'pageview'); ga('b.send', 'pageview'); //]]> </script>]]>