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

Sites Pertecentes a (o) RS

Endereço Nota Erros Avisos

www.altofeliz.rs.gov.br/web/noticias

83.07 31 43
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 6 193 205 217 229 290 292
1.1.4 Presença de CSS(s) interno 1 57
1.1.6 Presença de javascript(s) interno 6 53 439 442 444 445 445
193 <![CDATA[<img src="includes/thumb.php?file=../imgs/textos/textos1695399659.jpg&amp;w=527" alt="Município sediará seminário sobre solos e água em outubro" class=position-absolute style="width:100%; top:-0%;">]]>
205 <![CDATA[<img src="includes/thumb.php?file=../imgs/textos/textos1694606142.jpg&amp;w=527" alt="Qualidade na educação coloca Alto Feliz em destaque estadual" class=position-absolute style="width:100%; top:-0%;">]]>
217 <![CDATA[<img src="includes/thumb.php?file=../imgs/textos/textos1694605775.jpg&amp;w=527" alt="Prefeitura mobiliza voluntários para ajudar no Vale do Taquari nesta sexta" class=position-absolute style="width:100%; top:-0%;">]]>
229 <![CDATA[<img src="includes/thumb.php?file=../imgs/textos/textos1694453053.jpg&amp;w=527" alt="Alto Feliz encaminha mais um caminhão de donativos ao Vale do Taquari" class=position-absolute style="width:100%; top:-0%;">]]>
290 <![CDATA[<div class=display-flex style="justify-content:space-between;"> <h2 class="lista-titulo lista-titulo-noticias color-verde font-weight-bold material-icon-before" id=cabecalho>Notícias</h2> <select name=categoria id=form-categoria class="form-input form-select" style="width:128px; height:32px; padding:3px 7px; font-size:14px;"> <option value="">Todos</option> <option value=2>Coronavírus</option> <option value=1>Geral</option> </select> </div>]]>
292 <![CDATA[<select name=categoria id=form-categoria class="form-input form-select" style="width:128px; height:32px; padding:3px 7px; font-size:14px;"> <option value="">Todos</option> <option value=2>Coronavírus</option> <option value=1>Geral</option> </select>]]>
57 <![CDATA[<style>.contraste,.contraste a,.contraste button,.contraste nav,.contraste div,.contraste li,.contraste ol,.contraste header,.contraste footer,.contraste section,.contraste main,.contraste aside{background:#000;color:#fff}.contraste .header-contraste{background:#fff}.contraste .header-icones-button{border-color:rgba(255,255,255,.7)}.contraste .header-pesquisa-button{border:1px solid #fff;border-radius:4px}.contraste .header-pesquisa-button:hover{background:#000}.contraste .menu{border:solid rgba(255,255,255,.7);border-width:1px 0}@media all and (min-width:880px){.contraste .menu-div-nav{border:1px solid rgba(255,255,255,.5)}}.contraste .home-menu-a{box-shadow:0 0 2px 0 rgba(255,255,255,1)}.contraste .home-menu-a:hover{color:rgba(255,255,255,.7)}.contraste .home-noticias-texto{background:#212121}.contraste .home-lista-link:hover{color:rgba(255,255,255,.7)}.contraste .anime-bullets-a{border:1px solid #fff}.contraste .anime-bullets-a-ativo{background:#fff}.contraste .lc-button:hover{color:rgba(255,255,255,.7)}.contraste .table tr th{border-top:1px solid #fff;border-bottom:1px solid rgba(255,255,255,.5);color:#fff}.contraste .lista-paginacao{border-top:1px solid rgba(255,255,255,.5)}.contraste .lista-paginacao-input{border-color:#fff;color:rgba(255,255,255,.7)}.contraste .lc-modal-wrap{box-shadow:0 0 1px 1px rgba(255,255,255,.5)}.contraste .lc-modal-wrap-fechar{box-shadow:0 0 0 2px rgba(255,255,255,.5)}.contraste .lc-modal-anexo:hover{color:#fff}.contraste .textos-social-a{background:#fff;border-radius:4px;opacity:1}.contraste .textos-nav-a:hover{color:rgba(255,255,255,.7)}.contraste .textos-section .home-menu-a{box-shadow:none}.contraste .destaques-resize{border-bottom:1px solid rgba(255,255,255,.38)}.contraste .duvidas-button{border-color:rgba(255,255,255,.5)}.contraste .botoes-a-destaque{border:1px solid rgba(255,255,255,.5)}.contraste .box-shadow{box-shadow:0 0 2px 0 rgba(255,255,255,1)}.contraste .color-preto-2{color:#fff}.contraste .color-preto-3{color:rgba(255,255,255,.7)}.contraste #rodape{border-top:1px solid rgba(255,255,255,.7)}.contraste .footer-copy{border-top:1px solid rgba(255,255,255,.5)}.contraste .footer-news-form-button{box-shadow:0 0 2px 0 rgba(255,255,255,1)}</style>]]>
53 <![CDATA[<script>if(!window.jQuery){document.write('<script src="js/core/jquery-3.1.1.min.js"><\/script>');}</script>]]>
439 <![CDATA[<script>//<![CDATA[ $(function(){var t,o,e,n=$(window),a=$("#menu-button"),v=$("#menu-nav"),i=$(".menu-div"),s=$(".menu-div-button"),u=$(".menu-div-nav"),m=$("html"),d=$("#aumentar-fonte"),r=$("#diminuir-fonte"),l=100,f=sessionStorage.getItem("fonte");f&&(l=f,m.css("font-size",l+"%"),console.log(l)),d.click(function(){l<110&&(l=parseInt(l)+5,m.css("font-size",l+"%"),sessionStorage.setItem("fonte",l))}),r.click(function(){l>90&&(l=parseInt(l)-5,m.css("font-size",l+"%"),sessionStorage.setItem("fonte",l))}),a.click(function(){a.toggleClass("menu-button-ativo"),v.stop().slideToggle(200)}),n.resize(function(){a.removeClass("menu-button-ativo"),v.removeAttr("style")}),s.click(function(){n.width()<880&&(t=$(this),e=t.attr("id").replace("menu-div-button-",""),t.toggleClass("menu-div-button-ativo"),t.hasClass("menu-div-button-ativo")?(s.removeClass("menu-div-button-ativo"),u.removeClass("menu-div-nav-ativo"),t.addClass("menu-div-button-ativo"),$("#menu-div-nav-"+e).addClass("menu-div-nav-ativo")):(t.removeClass("menu-div-button-ativo"),$("#menu-div-nav-"+e).removeClass("menu-div-nav-ativo")))}),i.hover(function(){n.width()>=880&&(e=$(this).attr("id").replace("menu-div-",""),(o=$("#menu-div-button-"+e)).toggleClass("menu-div-button-ativo"),o.hasClass("menu-div-button-ativo")?(s.removeClass("menu-div-button-ativo"),u.removeClass("menu-div-nav-ativo"),o.addClass("menu-div-button-ativo"),$("#menu-div-nav-"+e).addClass("menu-div-nav-ativo")):(o.removeClass("menu-div-button-ativo"),$("#menu-div-nav-"+e).removeClass("menu-div-nav-ativo")))});var C,c,b=$(".footer-button"),g=$(".footer-nav");b.click(function(){C=$(this),c=C.attr("id").replace("footer-button-",""),C.toggleClass("footer-button-ativo"),C.hasClass("footer-button-ativo")?(b.removeClass("footer-button-ativo"),g.removeClass("footer-nav-ativo"),C.addClass("footer-button-ativo"),$("#footer-nav-"+c).addClass("footer-nav-ativo")):(C.removeClass("footer-button-ativo"),$("#footer-nav-"+c).removeClass("footer-nav-ativo"))})}); //]]></script>]]>
442 <![CDATA[<script>$(function(){var $body=$("body"),$button_contraste=$("#button-contraste"),contraste_em_sessao=sessionStorage.getItem("contraste");$button_contraste.click(function(){if($body.hasClass("contraste")){$body.removeClass("contraste");sessionStorage.setItem("contraste","desativado");}else{$body.addClass("contraste");sessionStorage.setItem("contraste","ativado");}});if(contraste_em_sessao=="ativado"){$button_contraste.click();}});</script>]]>
444 <![CDATA[<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','UA-109830182-1');</script>]]>
445 <![CDATA[<script>$(function(){var $news_form=$(".footer-news-form"),$news_mail=$("#form-newsletter-email"),$news_nome=$("#form-newsletter-nome"),$news_button=$("#form-newsletter-button"),news_erros=false;fn_email=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;$news_nome.blur(function(){if($news_nome.val().length==0){news_erros=true;$news_nome.addClass("footer-news-form-input-erro");}else{$news_nome.removeClass("footer-news-form-input-erro").addClass("footer-news-form-input-certo");}});$news_mail.blur(function(){if(!fn_email.test($news_mail.val())){news_erros=true;$news_mail.addClass("footer-news-form-input-erro");}else{$news_mail.removeClass("footer-news-form-input-erro").addClass("footer-news-form-input-certo");}});$news_button.click(function(e){e.preventDefault();news_erros=false;$news_form.removeClass("fx-denied");$news_mail.blur();$news_nome.blur();if(news_erros){$news_form.addClass("fx-denied").on("animationend",function(){$news_form.removeClass("fx-denied").off("animationend");});}else{$news_form.addClass("fx-loader");$.post("ajax/newsletter.php",{email:$news_mail.val(),nome:$news_nome.val()},function(e){console.log(e);$news_form.removeClass("fx-loader");if(!e==1){$news_mail.val("").addClass("footer-news-form-input-certo");$news_nome.val("").addClass("footer-news-form-input-certo");}else{$news_form.addClass("fx-denied").on("animationend",function(){$news_form.removeClass("fx-denied").off("animationend");});}});}});});</script>]]>
445 <![CDATA[<script>$(function(){var $cabecalho=$("#cabecalho"),$div_resultado=$("#resultado-noticias"),$voltar=$(".lista-paginacao-button-e"),$avancar=$(".lista-paginacao-button-d"),$input_paginacao=$(".lista-paginacao-input"),$paginacao_total=$("#paginacao-total"),$div_paginacao=$(".lista-paginacao"),$select_categoria=$("#form-categoria"),$form_botao=$("#form-botao"),pagina=1;$div_paginacao.hide();var $buscar=function(){pagina=$input_paginacao.val();categoria=$select_categoria.val();var usados=Array();$(".lista-destaques-div").each(function(){usados.push($(this).attr("data-id"));});$.post("ajax/chama-noticias.php",{pagina:pagina,usados:usados,categoria:categoria},function(d){var data=d.split("###");data[0]==0?$avancar.hide():$avancar.show();pagina==1?$voltar.hide():$voltar.show();if(data[1]==0){$div_paginacao.hide();}else{$div_paginacao.show();$paginacao_total.text(data[1]);data[1]==1?$div_paginacao.hide():$div_paginacao.show();}$div_resultado.html(data[2]);});trocar=false;};$form_botao.click(function(){$buscar();});$select_categoria.change(function(){$buscar();});$input_paginacao.blur(function(){if(parseInt($input_paginacao.val())>parseInt($paginacao_total.text())){$input_paginacao.val($paginacao_total.text());}if(parseInt($input_paginacao.val())<0){$input_paginacao.val("1");}$buscar();$('html,body').animate({scrollTop:$cabecalho.offset().top});}).keypress(function(a){if(13===a.which){$input_paginacao.blur();}});$voltar.click(function(){if($input_paginacao.val()>1){$input_paginacao.val(parseInt($input_paginacao.val())-1);$buscar();$('html,body').animate({scrollTop:$cabecalho.offset().top});}});$avancar.click(function(){if(parseInt($input_paginacao.val())<parseInt($paginacao_total.text())){$input_paginacao.val(parseInt($input_paginacao.val())+1);$buscar();$('html,body').animate({scrollTop:$cabecalho.offset().top});}});$buscar();});</script>]]>