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

Sites Pertecentes a (o) RS

Endereço Nota Erros Avisos

selbach.rs.gov.br/pt_BR/publicacoes

81.0 21 68
Recomendações Avaliadas
1.1 Respeitar os Padrões Web.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
1.1.6 Presença de javascript(s) interno 3 32 452 596
32 <![CDATA[<script type="text/javascript"> var CONFIG_URL = 'https://www.cmselbach.com.br/'; var PATH_GET = {"menu":"apreciacao_contas_prefeito"}; var MSG_CLASS = Array('information', 'alert', 'success', 'error'); </script>]]>
452 <![CDATA[<script type="text/javascript"> var cSpeed = 6; var cWidth = 110; var cHeight = 10; var cTotalFrames = 37; var cFrameWidth = 110; var cImageSrc = CONFIG_URL + 'web/system/images/bg_load.png'; var cImageTimeout = false; var cIndex = 0; var cXpos = 0; var cPreloaderTimeout = false; var SECONDS_BETWEEN_FRAMES = 0; function startAnimation() { document.getElementById('loaderImage').style.backgroundImage = 'url(' + cImageSrc + ')'; document.getElementById('loaderImage').style.width = cWidth + 'px'; document.getElementById('loaderImage').style.height = cHeight + 'px'; //FPS = Math.round(100/(maxSpeed+2-speed)); FPS = Math.round(100 / cSpeed); SECONDS_BETWEEN_FRAMES = 1 / FPS; cPreloaderTimeout = setTimeout('continueAnimation()', SECONDS_BETWEEN_FRAMES / 1000); } function continueAnimation() { cXpos += cFrameWidth; //increase the index so we know which frame of our animation we are currently on cIndex += 1; //if our cIndex is higher than our total number of frames, we're at the end and should restart if (cIndex >= cTotalFrames) { cXpos = 0; cIndex = 0; } if (document.getElementById('loaderImage')) document.getElementById('loaderImage').style.backgroundPosition = (-cXpos) + 'px 0'; cPreloaderTimeout = setTimeout('continueAnimation()', SECONDS_BETWEEN_FRAMES * 1000); } function stopAnimation() {//stops animation clearTimeout(cPreloaderTimeout); cPreloaderTimeout = false; } function imageLoader(s, fun)//Pre-loads the sprites image { clearTimeout(cImageTimeout); cImageTimeout = 0; genImage = new Image(); genImage.onload = function() { cImageTimeout = setTimeout(fun, 0) }; genImage.onerror = new Function('alert(\'Could not load the image\')'); genImage.src = s; } new imageLoader(cImageSrc, 'startAnimation()'); </script>]]>
596 <![CDATA[<script> (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-46344528-15', 'cmselbach.com.br'); ga('send', 'pageview'); </script>]]>