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

Sites Pertecentes a (o) CE

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 16 282 283 284 339 387 389 389 392 392 392 544 545 548 551 554 557
1.1.6 Presença de javascript(s) interno 10 28 118 205 256 327 344 361 395 410 569
282 <![CDATA[<a style="position: absolute; top: 50px; left: 145px; width: 200px; height: 77px;" alt="HGWA" title="HGWA" href="http://www.hgwa.ce.gov.br" target="_self" ><em>hgwa</em></a>]]>
283 <![CDATA[<a style="position: absolute; top: 50px; left: 875px; width: 255px; height: 77px;" alt="Secretaria da Saúde do Estado do Ceará" title="Secretaria da Saúde do Estado do Ceará" href="http://www.saude.ce.gov.br" target="_blank" ><em>Secretaria da Saúde do Estado do Ceará</em></a>]]>
284 <![CDATA[<a style="position: absolute; top: 2px; left: 980px; width: 150px; height: 50px;" alt="Governo do Estado do Ceará" title="Governo do Estado do Ceará" href="http://www.ceara.gov.br" target="_blank" ><em>Governo do Estado do Ceará</em></a>]]>
339 <![CDATA[<input type='button' value='Ok' onClick='gothere()' class='button' style='valign: bottom'>]]>
387 <![CDATA[<div id="gk_news_image-mod" class="gk_news_image_wrapper" style="width:560px; height:194px; position: relative;"> <div class="gk_news_image_json"><div class="gk_news_image_text_datas"><div class="gk_news_image_news_text"><h3><a href="/index.php?option=com_content&amp;view=article&amp;id=1697&amp;catid=1697" style="color:#000000;" onmouseover="this.style.color = '#000000';" onmouseout="this.style.color = '#000000'" class="gk_news_image_title">Período Eleitoral</a></h3><p style=" padding:5px; width:133px; height:115px; color:#000000; ">Publicidade e Comunicação Institucional Indisponíveis </p></div></div></div> <a href="/index.php?option=com_content&amp;view=article&amp;id=1697&amp;catid=1697" ><div class="gk_news_image_slide" style="background-image: url('/components/com_gk_photoslide/images/thumbm/855058eleitoral.png');width:394px;height:194px;position: absolute;z-index:0;"></div></a><div class="gk_news_image_text_bg" style="width:126px; height:120px; top:65px; position:absolute; z-index:5;left:404px; background-color:#FFFFFF; opacity:0.45;"></div><div class="gk_news_image_text" style="width:166px; *width:146px; height:194px; position: absolute; z-index:6;left:390px; top:0"></div></div>]]>
389 <![CDATA[<a href="/index.php?option=com_content&amp;view=article&amp;id=1697&amp;catid=1697" style="color:#000000;" onmouseover="this.style.color = '#000000';" onmouseout="this.style.color = '#000000'" class="gk_news_image_title">Período Eleitoral</a>]]>
389 <![CDATA[<p style=" padding:5px; width:133px; height:115px; color:#000000; ">Publicidade e Comunicação Institucional Indisponíveis </p>]]>
392 <![CDATA[<div class="gk_news_image_slide" style="background-image: url('/components/com_gk_photoslide/images/thumbm/855058eleitoral.png');width:394px;height:194px;position: absolute;z-index:0;"></div>]]>
392 <![CDATA[<div class="gk_news_image_text_bg" style="width:126px; height:120px; top:65px; position:absolute; z-index:5;left:404px; background-color:#FFFFFF; opacity:0.45;"></div>]]>
392 <![CDATA[<div class="gk_news_image_text" style="width:166px; *width:146px; height:194px; position: absolute; z-index:6;left:390px; top:0"></div>]]>
544 <![CDATA[<div id="banner" style="position: relative;"> <div id="div1" style="opacity: 0;"><a title="Licitações" href="http://licitarsite.pge.ce.gov.br/LicitarSite/Site/pgConsultaSite.aspx"> <img alt="Licitações" src="/images/banners/banner_licita2.jpg" border="0"> </a></div> <div id="div2" style="opacity: 0;"><a title="Portal Transparência" href="http://www.transparencia.ce.gov.br/"> <img alt="Portal Transparência" src="/images/banners/banner_transparencia_site_195x145.jpg" border="0"> </a></div> <div id="div3" style="opacity: 0;"><a title="Acesso Cidadão" href="http://www.acessocidadao.ce.gov.br/"> <img alt="Acesso Cidadão" src="/images/banners/acesso_cidadao.jpg" border="0"> </a></div> <div id="div4" style="opacity: 0;"><a title="PAD" href="http://www.hgwa.ce.gov.br/index.php?option=com_content&view=article&id=709&Itemid=323"> <img alt="PAD" src="/images/banners/pad.jpg" border="0"> </a></div> <div id="div5" style="opacity: 0;"><a title="Sala de Leitura" href="/index.php?option=com_content&amp;view=article&amp;id=689&amp;Itemid=311"> <img alt="Sala de Leitura" src="/images/banners/banner_leitura.jpg" border="0"> </a></div> <div id="num_banner"> <a class="activeSlide" id="link1" href="javascript:changeBanner(1);">1</a> <a class="" id="link2" href="javascript:changeBanner(2);">2</a> <a class="" id="link3" href="javascript:changeBanner(3);">3</a> <a class="" id="link4" href="javascript:changeBanner(4);">4</a> <a class="" id="link5" href="javascript:changeBanner(5);">5</a> </div> </div>]]>
545 <![CDATA[<div id="div1" style="opacity: 0;"><a title="Licitações" href="http://licitarsite.pge.ce.gov.br/LicitarSite/Site/pgConsultaSite.aspx"> <img alt="Licitações" src="/images/banners/banner_licita2.jpg" border="0"> </a></div>]]>
548 <![CDATA[<div id="div2" style="opacity: 0;"><a title="Portal Transparência" href="http://www.transparencia.ce.gov.br/"> <img alt="Portal Transparência" src="/images/banners/banner_transparencia_site_195x145.jpg" border="0"> </a></div>]]>
551 <![CDATA[<div id="div3" style="opacity: 0;"><a title="Acesso Cidadão" href="http://www.acessocidadao.ce.gov.br/"> <img alt="Acesso Cidadão" src="/images/banners/acesso_cidadao.jpg" border="0"> </a></div>]]>
554 <![CDATA[<div id="div4" style="opacity: 0;"><a title="PAD" href="http://www.hgwa.ce.gov.br/index.php?option=com_content&view=article&id=709&Itemid=323"> <img alt="PAD" src="/images/banners/pad.jpg" border="0"> </a></div>]]>
557 <![CDATA[<div id="div5" style="opacity: 0;"><a title="Sala de Leitura" href="/index.php?option=com_content&amp;view=article&amp;id=689&amp;Itemid=311"> <img alt="Sala de Leitura" src="/images/banners/banner_leitura.jpg" border="0"> </a></div>]]>
28 <![CDATA[<script> var supersleight = function() { var root = false; var applyPositioning = true; // Path to a transparent GIF image var shim = 'js/x.gif'; // RegExp to match above GIF image name var shim_pattern = /x\.gif$/i; var fnLoadPngs = function() { if (root) { root = document.getElementById(root); }else{ root = document; } for (var i = root.all.length - 1, obj = null; (obj = root.all[i]); i--) { // background pngs if (obj.currentStyle.backgroundImage.match(/\.png/i) !== null) { bg_fnFixPng(obj); } // image elements if (obj.tagName=='IMG' && obj.src.match(/\.png$/i) !== null){ el_fnFixPng(obj); } // apply position to 'active' elements if (applyPositioning && (obj.tagName=='A' || obj.tagName=='INPUT') && obj.style.position === ''){ obj.style.position = 'relative'; } } }; var bg_fnFixPng = function(obj) { var mode = 'scale'; var bg = obj.currentStyle.backgroundImage; var src = bg.substring(5,bg.length-2); if (obj.currentStyle.backgroundRepeat == 'no-repeat') { mode = 'crop'; } obj.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='" + mode + "')"; obj.style.backgroundImage = 'url('+shim+')'; }; var el_fnFixPng = function(img) { var src = img.src; img.style.width = img.width + "px"; img.style.height = img.height + "px"; img.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + src + "', sizingMethod='scale')"; img.src = shim; }; var addLoadEvent = function(func) { var oldonload = window.onload; if (typeof window.onload != 'function') { window.onload = func; } else { window.onload = function() { if (oldonload) { oldonload(); } func(); }; } }; return { init: function() { addLoadEvent(fnLoadPngs); }, limitTo: function(el) { root = el; }, run: function() { fnLoadPngs(); } }; }(); // limit to part of the page ... pass an ID to limitTo: // supersleight.limitTo('header'); supersleight.init(); </script>]]>
118 <![CDATA[<script> // CÓDIGO DO REDIRECIONAMENTO // Variáveis de configuração //var GOVCE_SECRETARIA = "HGWA"; // TAMANHO MÁXIMO: 15 caracteres //var GOVCE_ENDERECO = "www.ceara.gov.br"; /// FIXO - NÃO ALTERAR // Verifica se o remetente é o Portal do Governo //var sRemetente = document.referrer; //if (sRemetente.indexOf(GOVCE_ENDERECO) > 0) { //GerarCookie("GOVCERedir", "1", 1); } //else { // Não veio do Governo. Tenta obter Cookie de configuracao var sVerificaRedir = LerCookie("GOVCERedir"); if (sVerificaRedir != "1") { GerarCookie("GOVCERedir", "1", 1); // Cria endereço com todas as informações necessárias (servidor, url, e possíveis variáveis query) var sUrlGovCe = location.href; // Redireciona para o portal do governo, passando o endereço montado para possível retorno location.href = "http://" + GOVCE_ENDERECO + "?secretaria=" + GOVCE_SECRETARIA + "&endereco=" + sUrlGovCe; } } // Função para criar o cookie. // Para que o cookie seja destruído quando o browser for fechado, basta passar 0 no parametro lngDias. function GerarCookie(strCookie, strValor, lngDias) { var dtmData = new Date(); if(lngDias) { dtmData.setTime(dtmData.getTime() + (lngDias * 10 * 60 * 60 * 1000)); var strExpires = "; expires=" + dtmData.toGMTString(); } else { var strExpires = ""; } document.cookie = strCookie + "=" + strValor + strExpires + "; path=/"; } // Função para ler o cookie. function LerCookie(strCookie) { var strNomeIgual = strCookie + "="; var arrCookies = document.cookie.split(';'); for(var i = 0; i < arrCookies.length; i++) { var strValorCookie = arrCookies[i]; while(strValorCookie.charAt(0) == ' ') { strValorCookie = strValorCookie.substring(1, strValorCookie.length); } if(strValorCookie.indexOf(strNomeIgual) == 0) { return strValorCookie.substring(strNomeIgual.length, strValorCookie.length); } } return null; } </script>]]>
205 <![CDATA[<script type="text/javascript" language="JavaScript"> var now = new Date(); mydate = new Date(); myday = mydate.getDay(); mymonth = mydate.getMonth(); myweekday= mydate.getDate(); weekday= myweekday; myyear= mydate.getYear(); year = myyear; if (myweekday<10) myweekday = "0"+myweekday.toString(); if(myday == 0) day = " Domingo, " else if(myday == 1)day = " Segunda-Feira" else if(myday == 2) day = " Terça-Feira" else if(myday == 3) day = " Quarta-Feira" else if(myday == 4)day = " Quinta-Feira" else if(myday == 5) day = " Sexta-Feira" else if(myday == 6) day = " Sábado" if(mymonth == 0) month = "/01/" else if(mymonth ==1) month = "/02/" else if(mymonth ==2) month = "/03/" else if(mymonth ==3) month = "/04/" else if(mymonth ==4) month = "/05/" else if(mymonth ==5) month = "/06/" else if(mymonth ==6) month = "/07/" else if(mymonth ==7) month = "/08/" else if(mymonth ==8) month = "/09/" else if(mymonth ==9) month = "/10/" else if(mymonth ==10) month = "/11/" else if(mymonth ==11) month = "/12/" if (navigator.appName.indexOf('Microsoft') != -1) document.write(myweekday+ month + year + ","+ day); else { year=year+1900; document.write(myweekday+ month + year + ","+ day); } </script>]]>
256 <![CDATA[<script> function goMenu(){ var valor = document.getElementById('menuTopo').options[ document.getElementById('menuTopo').selectedIndex ].value; if( valor != '' ){ document.location.href = valor; } } </script>]]>
327 <![CDATA[<script type="text/javascript"> function gothere(){ var link = document.form_wlcombo_plus.select_wlcombo_plus.options[document.form_wlcombo_plus.select_wlcombo_plus.selectedIndex].value; if ((link != "") && (link.search(/http:/)!=-1)) { window.open(link,"mywindow"); } } </script>]]>
344 <![CDATA[<script> function goMenuCombo(param_menuID){ var valor = document.getElementById(param_menuID).options[ document.getElementById(param_menuID).selectedIndex ].value; if( valor != '' ){ document.location.href = valor; } } </script>]]>
361 <![CDATA[<script> function goMenuCombo(param_menuID){ var valor = document.getElementById(param_menuID).options[ document.getElementById(param_menuID).selectedIndex ].value; if( valor != '' ){ document.location.href = valor; } } </script>]]>
395 <![CDATA[<script type="text/javascript"> gk_news_image_conf = {};actual_animation = {};actual_animation_p = {};actual_slide = {};gk_news_image_conf["gk_news_image-mod"] = [1000,7000,1,0,0,0,0,0,"#FFFFFF","#FFFFFF",0.45];actual_animation["gk_news_image-mod"] = false;actual_animation_p["gk_news_image-mod"] = false;actual_slide["gk_news_image-mod"] = 0;</script>]]>
410 <![CDATA[<script language="javascript"> function show(whichOne,vmax){ var num = new Number(whichOne); for(var nLink = vmax ; nLink > 0 ; nLink--){ if( document.getElementById('link'+nLink) ){ document.getElementById('link'+nLink).className = ''; } if( document.getElementById('div'+nLink) ){ document.getElementById('div'+nLink).style.opacity = 0; document.getElementById('div'+nLink).style.display = 'none'; } } if(vmax == 1){ document.getElementById('div1').style.display = ''; document.getElementById('div1').style.opacity = ''; return false; } if(whichOne == vmax){ tDiv = "div"+vmax; vDiv = "div1"; } else{ tDiv = "div" + num; vDiv = "div" + (num + 1); } if(whichOne == 1){ if( document.getElementById('link'+vmax) ){ document.getElementById('link'+vmax).className = ''; } document.getElementById('link1').className = 'activeSlide'; } else{ document.getElementById('link'+ (num - 1)).className = ''; document.getElementById('link'+whichOne).className = 'activeSlide'; } if($(tDiv).fx){$(tDiv).fx.stop();} if($(vDiv).fx){$(vDiv).fx.stop();} $(tDiv).fx = $(tDiv).effect("opacity", {duration: 500}).start(0); $(vDiv).fx = $(vDiv).effect("opacity", {duration: 500}).start(1); $(tDiv).style.display = 'none'; $(vDiv).style.display = ''; } var randomBanner = { cont: 0, timeOut: null, change: function(num){ var that = this; if( this.cont == 5){ this.cont = 0; } if( num > 0 && typeof num != 'undefined' ){ this.cont = num; } else{ this.cont++; } show(this.cont,5) this.timeOut = setTimeout( function(){ that.change(); }, 3500 ); }, changeCont: function(num){ var that = this; this.cont = num; }, stopLoop: function(){ clearTimeout( this.timeOut ); } } function changeBanner(num2){ num2 = parseInt(num2); randomBanner.stopLoop(); show(num2,5); if( num2 == 5){ num2 = 1; } else{ num2 = num2 + 1 ; } setTimeout( function(){ randomBanner.change( parseInt(num2) ); }, 5500 ); } function sleep(tempo){ var start = new Date().getTime(); for(var i = 0; i < 1e7 ; i++){ if( (new Date().getTime() - start) > tempo ){ break; } } } </script>]]>
569 <![CDATA[<script>randomBanner.change(1);</script>]]>