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 8 114 114 204 205 206 207 208 209
1.1.6 Presença de javascript(s) interno 14 32 38 50 55 90 166 212 332 373 379 402 411 442 465
114 <![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>]]>
114 <![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>]]>
204 <![CDATA[<div id="div_dicionario" style="position: absolute; left: 0px; top: 0px; width: 250px; height: 100px; display: none;"> <img id="div_dicionario_setaTopEsq" src="css/images/seta1.gif" alt="seta1" style="position: relative; top: 1px; visibility: hidden;" /> <img id="div_dicionario_setaTopDir" src="css/images/seta2.gif" alt="seta2" style="position: relative; top: 1px; left: 192px; visibility: hidden;" /> <div id="div_dicionario_significado" style="width: 100%; border-right: #999999 1px solid; border-top: #999999 1px solid; border-left: #999999 1px solid; border-bottom: #999999 1px solid; padding-right: 5px; padding-left: 5px; font-size: 8pt; padding-bottom: 5px; color: gray; padding-top: 5px; font-family: Arial; background-color: White;"> ;</div> <img id="div_dicionario_setaBottomEsq" src="css/images/seta3.gif" alt="seta3" style="position: relative; bottom: 1px; visibility: hidden;" /> <img id="div_dicionario_setaBottomDir" src="css/images/seta4.gif" alt="seta4" style="position: relative; bottom: 1px; left: 192px; visibility: hidden;" /> </div>]]>
205 <![CDATA[<img id="div_dicionario_setaTopEsq" src="css/images/seta1.gif" alt="seta1" style="position: relative; top: 1px; visibility: hidden;" />]]>
206 <![CDATA[<img id="div_dicionario_setaTopDir" src="css/images/seta2.gif" alt="seta2" style="position: relative; top: 1px; left: 192px; visibility: hidden;" />]]>
207 <![CDATA[<div id="div_dicionario_significado" style="width: 100%; border-right: #999999 1px solid; border-top: #999999 1px solid; border-left: #999999 1px solid; border-bottom: #999999 1px solid; padding-right: 5px; padding-left: 5px; font-size: 8pt; padding-bottom: 5px; color: gray; padding-top: 5px; font-family: Arial; background-color: White;"> ;</div>]]>
208 <![CDATA[<img id="div_dicionario_setaBottomEsq" src="css/images/seta3.gif" alt="seta3" style="position: relative; bottom: 1px; visibility: hidden;" />]]>
209 <![CDATA[<img id="div_dicionario_setaBottomDir" src="css/images/seta4.gif" alt="seta4" style="position: relative; bottom: 1px; left: 192px; visibility: hidden;" />]]>
32 <![CDATA[<script type="text/javascript"> var orkuttitulo = 'COMO FUNCIONA?'; </script>]]>
38 <![CDATA[<script type="text/javascript"> AjaxPro.noUtcTime = true; </script>]]>
50 <![CDATA[<script type="text/javascript"> var siterel = ""; </script>]]>
55 <![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>]]>
90 <![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>]]>
166 <![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>]]>
212 <![CDATA[<script type="text/javascript"> var PageSizeShow = 10; //Quantidade de páginas que será exibida var PageSize = '5'; //Quantidade de registros por página var jsFunction = "Load_Ultimas"; //Nome da função javascript de exibição de dados. function Load_Ultimas(Page) { uc_materiaVis.Load_MateriasRelacionadas(Page, '16522', PageSize, '55', function(res) { var ul = "materias_relacionadas"; var ulMain = document.createElement("ul"); ulMain.setAttribute("id", ul); if(res.value != null) { SetPags(res.value.Rows[0].TOTALROWS, Page); var i = 1; for(var x = 0; x < res.value.Rows.length; x++) { var li = document.createElement("li"); //li.setAttribute("class","mat_rel_0" + i); //li.setAttribute("className","mat_rel_0" + i); li.className = "mat_rel_0" + i; var a = document.createElement("a"); //a.setAttribute("href", "?cd=" + res.value.Rows[x].CDMATERIA + ""); a.setAttribute("href", res.value.Rows[x].URLAMIGAVEL); a.appendChild(document.createTextNode(res.value.Rows[x].NMTITULO)); li.appendChild(document.createTextNode(res.value.Rows[x].DTMATERIA + " - " )); li.appendChild(a); ulMain.appendChild(li); if(i == 1) i = 2; else i = 1; } //document.getElementById(ul).parentNode.style.display = "block"; } else document.getElementById(ul).parentNode.style.display = "none"; document.getElementById(ul).parentNode.replaceChild(ulMain, document.getElementById(ul)); }); } function showDica(evt, text) { div_dicionario_significado.removeChild(div_dicionario_significado.firstChild); //div_dicionario_significado.appendChild(document.createTextNode(text)); div_dicionario_significado.innerHTML = text.replace(/\n/g,"<br />"); var Y; if(evt.clientY > (screen.height / 2)) { div_dicionario.style.top = (evt.clientY + (document.documentElement.scrollTop == 0 ? window.pageYOffset : document.documentElement.scrollTop) - 130) + "px"; Y = "T"; } else { div_dicionario.style.top = (evt.clientY + (document.documentElement.scrollTop == 0 ? window.pageYOffset : document.documentElement.scrollTop)) + "px"; Y = "B"; } div_dicionario_setaTopEsq.style.visibility = "hidden"; div_dicionario_setaTopDir.style.visibility = "hidden"; div_dicionario_setaBottomDir.style.visibility = "hidden"; div_dicionario_setaBottomEsq.style.visibility = "hidden"; if(evt.clientX < (screen.width / 2)) { if(Y == "B") div_dicionario_setaTopEsq.style.visibility = "visible"; else div_dicionario_setaBottomEsq.style.visibility = "visible"; div_dicionario.style.left = evt.clientX + "px"; } else { if(Y == "B") div_dicionario_setaTopDir.style.visibility = "visible"; else div_dicionario_setaBottomDir.style.visibility = "visible"; div_dicionario.style.left = (evt.clientX - 250) + "px"; } div_dicionario.style.display = "block"; } function hideDica() { div_dicionario.style.display = "none"; } </script>]]>
332 <![CDATA[<script type="text/javascript"> function getImagensGal(cdGaleria, cdImagem) { uc_materiaVis.GetImgGal(cdGaleria, function (res) { var divImgs = document.createElement("div"); var idDiv = "div" + cdGaleria; divImgs.setAttribute("id", idDiv); divImgs.setAttribute("style", "display:none"); if (res.value != null) { var li = document.createElement("li"); for (var i = 0; i < res.value.Rows.length; i++) { if (cdImagem != res.value.Rows[i].IDIMAGEM) { var a = document.createElement("a"); a.href = res.value.Rows[i].CAMINHOORI + res.value.Rows[i].IDIMAGEM + "." + res.value.Rows[i].NMIMAGEMEXTENSAO; a.setAttribute("class", "fresco"); a.setAttribute("data-fresco-group", "gallery_" + cdGaleria); a.title = res.value.Rows[i].DSDESCRICAO; a.setAttribute("data-fresco-caption", res.value.Rows[i].DSDESCRICAO + " - Autor: " + res.value.Rows[i].NMIMAGEMAUTOR); li.appendChild(a); } } divImgs.appendChild(li); } document.getElementById('imagens_galeria').appendChild(divImgs); } ); } </script>]]>
373 <![CDATA[<script type="text/javascript"> Load_Ultimas(0); </script>]]>
379 <![CDATA[<script type="text/javascript"> var div_dicionario = document.getElementById("div_dicionario"); var div_dicionario_setaTopEsq = document.getElementById("div_dicionario_setaTopEsq"); var div_dicionario_setaTopDir = document.getElementById("div_dicionario_setaTopDir"); var div_dicionario_setaBottomEsq = document.getElementById("div_dicionario_setaBottomEsq"); var div_dicionario_setaBottomDir = document.getElementById("div_dicionario_setaBottomDir"); var div_dicionario_significado = document.getElementById("div_dicionario_significado"); </script>]]>
402 <![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>]]>
411 <![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>]]>
442 <![CDATA[<script type="text/javascript"> //<![CDATA[ (function(){ var hyp_email = document.getElementById("uc_navegacao_hyp_email"); if (hyp_email) hyp_email.onclick = function () { Popup('pop_env.aspx?url=http://portaltransparencia.goncalves.mg.gov.br/mat_vis.aspx?cd=16522&titulo=', 'pop_env', 332, 500, -1, -1, 'no', 'no', 'no', 'no'); }; var hyp_imprimir = document.getElementById("uc_navegacao_hyp_imprimir"); if (hyp_imprimir) hyp_imprimir.onclick = function () { Popup('pop_print.aspx', 'pop_print', 700, 450, -1, -1, 'no', 'yes', 'no', 'no'); }; })(); //]]> </script>]]>
465 <![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>]]>