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/

77.45 37 91
Recomendações Avaliadas
2.2 Garantir que os objetos programáveis sejam acessíveis.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
2.2.6 Presença do elemento SCRIPT sem o elemento NOSCRIPT 5 53 735 737 738 738
53 <![CDATA[<script>if(!window.jQuery){document.write('<script src="js/core/jquery-3.1.1.min.js"><\/script>');}</script>]]>
735 <![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>]]>
737 <![CDATA[<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','UA-109830182-1');</script>]]>
738 <![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>]]>
738 <![CDATA[<script>//<![CDATA[ $(function(){var e=$("#anime-slider"),t=$(".anime-bullets-a"),i=0,a=$(".anime-slider-a").length-1,n=0,s=!0,l=function(){s&&(s=!1,clearInterval(n),t.removeClass("anime-bullets-a-ativo"),$("#anime-bullets-a-"+i).addClass("anime-bullets-a-ativo"),e.css("transform","translateX(-"+10*i+"%)").one("transitionend",function(){s=!0,n=setInterval(function(){i=i==a?0:parseInt(i)+1,$("#anime-bullets-a-"+i).click()},5e3)}))};t.click(function(){$(this).hasClass("anime-bullets-a-ativo")||(i=$(this).attr("id").replace("anime-bullets-a-",""),l())}),l();var o=$(window);fn_resize_listas=function(e){var t=$(e),i="",a=t.length-1,n=0;o.width()>=480?t.height("auto").each(function(e){i=$(this),n=i.height()>n?i.height():n,a==e&&t.height(n)}):t.height("auto")},o.resize(function(){fn_resize_listas(".home-noticias-texto"),fn_resize_listas(".home-eventos-texto")}),fn_resize_listas(".home-noticias-texto"),fn_resize_listas(".home-eventos-texto")}); //]]></script>]]>