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/acesso-a-informacao

92.52 26 147
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 7 53 841 844 846 847 848 848
53 <![CDATA[<script>if(!window.jQuery){document.write('<script src="js/core/jquery-3.1.1.min.js"><\/script>');}</script>]]>
841 <![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>]]>
844 <![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>]]>
846 <![CDATA[<script>window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments);}gtag('js',new Date());gtag('config','UA-109830182-1');</script>]]>
847 <![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>]]>
848 <![CDATA[<script>$(function(){$(".fancybox").fancybox({padding:5,helpers:{title:{type:"inside"},overlay:{locked:!1}}})});</script>]]>
848 <![CDATA[<script>$(function(){!function(e,n,t){function o(e,n){return typeof e===n}function s(){var e,n,t,s,a,i,r;for(var l in c)if(c.hasOwnProperty(l)){if(e=[],n=c[l],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;t<n.options.aliases.length;t++)e.push(n.options.aliases[t].toLowerCase());for(s=o(n.fn,"function")?n.fn():n.fn,a=0;a<e.length;a++)i=e[a],r=i.split("."),1===r.length?Modernizr[r[0]]=s:(!Modernizr[r[0]]||Modernizr[r[0]]instanceof Boolean||(Modernizr[r[0]]=new Boolean(Modernizr[r[0]])),Modernizr[r[0]][r[1]]=s),f.push((s?"":"no-")+r.join("-"))}}function a(e){var n=u.className,t=Modernizr._config.classPrefix||"";if(p&&(n=n.baseVal),Modernizr._config.enableJSClass){var o=new RegExp("(^|\\s)"+t+"no-js(\\s|$)");n=n.replace(o,"$1"+t+"js$2")}Modernizr._config.enableClasses&&(n+=" "+t+e.join(" "+t),p?u.className.baseVal=n:u.className=n)}function i(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):p?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}function r(){var e=n.body;return e||(e=i(p?"svg":"body"),e.fake=!0),e}function l(e,t,o,s){var a,l,f,c,d="modernizr",p=i("div"),h=r();if(parseInt(o,10))for(;o--;)f=i("div"),f.id=s?s[o]:d+(o+1),p.appendChild(f);return a=i("style"),a.type="text/css",a.id="s"+d,(h.fake?h:p).appendChild(a),h.appendChild(p),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(n.createTextNode(e)),p.id=d,h.fake&&(h.style.background="",h.style.overflow="hidden",c=u.style.overflow,u.style.overflow="hidden",u.appendChild(h)),l=t(p,e),h.fake?(h.parentNode.removeChild(h),u.style.overflow=c,u.offsetHeight):p.parentNode.removeChild(p),!!l}var f=[],c=[],d={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var t=this;setTimeout(function(){n(t[e])},0)},addTest:function(e,n,t){c.push({name:e,fn:n,options:t})},addAsyncTest:function(e){c.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=d,Modernizr=new Modernizr;var u=n.documentElement,p="svg"===u.nodeName.toLowerCase(),h=d._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];d._prefixes=h;var m=d.testStyles=l;Modernizr.addTest("touchevents",function(){var t;if("ontouchstart"in e||e.DocumentTouch&&n instanceof DocumentTouch)t=!0;else{var o=["@media (",h.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");m(o,function(e){t=9===e.offsetTop})}return t}),s(),a(f),delete d.addTest,delete d.addAsyncTest;for(var v=0;v<Modernizr._q.length;v++)Modernizr._q[v]();e.Modernizr=Modernizr}(window,document);});</script>]]>