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

Sites Pertecentes a (o) SP

Endereço Nota Erros Avisos

www.urupes.sp.gov.br/servicos/cidade/legislacao/lei.
php?id=1875

74.0 536 771
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 14 30 46 78 113 124 214 241 1146 1213 1215 1237 1246 1293 1306
30 <![CDATA[<script type="text/javascript"> function printdiv(printpage){ var headstr = "<html><head><title></title></head><body>"; var footstr = "</body>"; var newstr = document.all.item(printpage).innerHTML; var oldstr = document.body.innerHTML; document.body.innerHTML = headstr+newstr+footstr; window.print(); document.body.innerHTML = oldstr; return false; } </script>]]>
46 <![CDATA[<script type="text/javascript">/* $(window).scroll(function() { var scroll = $(window).scrollTop(); var pararEm = $(document).height() - 1100; var tamanhoSeguir = $('.seguir').height(); if (scroll > 270 && ($(window).width() > 750)) { if (scroll < pararEm) { $('.seguir').css("position", "fixed"); $('.seguir').css("top", 0); $('.seguir').css("z-index", 21); } else{ $('.seguir').css("position", "absolute"); $('.seguir').css("top", pararEm - tamanhoSeguir + 50); $('.seguir').css("z-index", 21); } } if (scroll < 270 && ($(window).width() > 750)) { $('.seguir').css("position", "absolute"); $('.seguir').css("top", 0); } if ($(window).width() < 750){ $('.seguir').css("position", "fixed"); $('.seguir').css("bottom", 0); $('.seguir').css("top", "auto"); } });*/ </script>]]>
78 <![CDATA[<script type="text/javascript">/* $(window).scroll(function() { var scroll = $(window).scrollTop(); var pararEm = $(document).height() - 1100; var tamanhoSeguir = $('.seguirbr').height(); if (scroll > 270 && ($(window).width() > 750)) { if (scroll < pararEm) { $('.seguirbr').css("position", "fixed"); $('.seguirbr').css("top", 0); $('.seguirbr').css("z-index", 10); $('.seguirbr').css("border-bottom", "1px solid #ddd"); $('.nome-da-lei').css("display", "block"); } else{ $('.seguirbr').css("position", "none"); $('.seguirbr').css("top", pararEm - tamanhoSeguir + 50); $('.seguirbr').css("z-index", 21); } } if (scroll < 270 && ($(window).width() > 750)) { $('.seguirbr').css("position", "relative"); $('.seguirbr').css("border-bottom", "0px"); $('.nome-da-lei').css("display", "none"); } if ($(window).width() < 750){ $('.seguirbr').css("position", "fixed"); $('.seguirbr').css("bottom", 0); $('.seguirbr').css("top", "auto"); } });*/ </script>]]>
113 <![CDATA[<script type="text/javascript"> function resizeText(multiplier) { if (document.body.style.fontSize == "") { document.body.style.fontSize = "1.0em"; } document.body.style.fontSize = parseFloat(document.body.style.fontSize) + (multiplier * 0.2) + "em"; } </script>]]>
124 <![CDATA[<script type="text/javascript"> (function () { var Contrast = { storage: 'contrastState', cssClass: 'contrast', currentState: null, check: checkContrast, getState: getContrastState, setState: setContrastState, toogle: toogleContrast, updateView: updateViewContrast }; window.toggleContrast = function () { Contrast.toogle(); }; Contrast.check(); function checkContrast() { this.updateView(); } function getContrastState() { return localStorage.getItem(this.storage) === 'true'; } function setContrastState(state) { localStorage.setItem(this.storage, '' + state); this.currentState = state; this.updateView(); } function updateViewContrast() { var body = document.body; if (this.currentState === null) this.currentState = this.getState(); if (this.currentState) body.classList.add(this.cssClass); else body.classList.remove(this.cssClass); } function toogleContrast() { this.setState(!this.currentState); } })(); </script>]]>
214 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-136072104-1'); </script>]]>
241 <![CDATA[<script> (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:1941341,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); </script>]]>
1146 <![CDATA[<script type="text/javascript"> function navigateTo(sel, target, newWindow) { var url = sel.options[sel.selectedIndex].value; if (newWindow) { window.open(url, target); } else { window[target].location.href = url; } } </script>]]>
1213 <![CDATA[<script>window.jQuery || document.write('<script src="js/jquery-1.7.1.min.js"><\/script>')</script>]]>
1215 <![CDATA[<script type="text/javascript"> $(document).ready(function() { // display image caption on top of image $(".coluna-noticias img").each(function() { var imageCaption = $(this).attr("alt"); if (imageCaption != '') { var imgWidth = $(this).width(); var imgHeight = $(this).height(); var position = $(this).position(); var positionTop = (position.top + imgHeight - 26); $("<div class='img-caption'><em>"+imageCaption+"</em></div>") .css({"position":"relative", "left":"0", "width":imgWidth +"px"}) .insertAfter(this); } }); }); </script>]]>
1237 <![CDATA[<script> var _gaq=[['_setAccount','UA-30031624-1'],['_trackPageview']]; (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0]; g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js'; s.parentNode.insertBefore(g,s)}(document,'script')); </script>]]>
1246 <![CDATA[<script language="JavaScript"> <!-- var TRange=null function findString (str) { if (parseInt(navigator.appVersion)<4) return; var strFound; if (window.find) { // CODE FOR BROWSERS THAT SUPPORT window.find strFound=self.find(str); if (strFound && self.getSelection && !self.getSelection().anchorNode) { strFound=self.find(str) } if (!strFound) { strFound=self.find(str,0,1) while (self.find(str,0,1)) continue } } else if (navigator.appName.indexOf("Microsoft")!=-1) { // EXPLORER-SPECIFIC CODE if (TRange!=null) { TRange.collapse(false) strFound=TRange.findText(str) if (strFound) TRange.select() } if (TRange==null || strFound==0) { TRange=self.document.body.createTextRange() strFound=TRange.findText(str) if (strFound) TRange.select() } } else if (navigator.appName=="Opera") { alert ("Infelizmente, navegadores Opera não são suportados...") return; } if (!strFound) alert ("String '"+str+"' not found!") return; } //--> </script>]]>
1293 <![CDATA[<script type="text/javascript"> let divs = document.getElementsByClassName('artigo'); for (let x = 0; x < divs.length; x++) { let div = divs[x]; let content = div.innerHTML.trim(); if (content == '') { div.style.margin = '15px 0px'; } } </script>]]>
1306 <![CDATA[<script type="text/javascript"> var compilado = false; function verCompilado(){ if (compilado == false) { compilado = true; document.getElementById('ico-compilacao').classList.remove("fa-toggle-off"); document.getElementById('ico-compilacao').classList.add("fa-toggle-on"); for(var i = 0; i < document.getElementsByClassName("artigo_alterado").length; i++){ document.getElementsByClassName("artigo_alterado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("artigo_vetado").length; i++){ document.getElementsByClassName("artigo_vetado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("paragrafo_alterado").length; i++){ document.getElementsByClassName("paragrafo_alterado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("paragrafo_vetado").length; i++){ document.getElementsByClassName("paragrafo_vetado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("inciso_alterado").length; i++){ document.getElementsByClassName("inciso_alterado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("inciso_vetado").length; i++){ document.getElementsByClassName("inciso_vetado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("alinea_alterado").length; i++){ document.getElementsByClassName("alinea_alterado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("alinea_vetado").length; i++){ document.getElementsByClassName("alinea_vetado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("texto_alterado").length; i++){ document.getElementsByClassName("texto_alterado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("texto_vetado").length; i++){ document.getElementsByClassName("texto_vetado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("alterado").length; i++){ document.getElementsByClassName("alterado")[i].style.display = "none"; } for(var i = 0; i < document.getElementsByClassName("alterado").length; i++){ document.getElementsByClassName("alterado")[i].style.display = "none"; } document.querySelector("body").innerHTML+= "<style>strike{display:none;}</style>"; } else { compilado = false; document.getElementById('ico-compilacao').classList.remove("fa-toggle-on"); document.getElementById('ico-compilacao').classList.add("fa-toggle-off"); for(var i = 0; i < document.getElementsByClassName("artigo_alterado").length; i++){ document.getElementsByClassName("artigo_alterado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("artigo_vetado").length; i++){ document.getElementsByClassName("artigo_vetado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("paragrafo_alterado").length; i++){ document.getElementsByClassName("paragrafo_alterado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("paragrafo_vetado").length; i++){ document.getElementsByClassName("paragrafo_vetado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("inciso_alterado").length; i++){ document.getElementsByClassName("inciso_alterado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("inciso_vetado").length; i++){ document.getElementsByClassName("inciso_vetado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("alinea_alterado").length; i++){ document.getElementsByClassName("alinea_alterado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("alinea_vetado").length; i++){ document.getElementsByClassName("alinea_vetado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("texto_alterado").length; i++){ document.getElementsByClassName("texto_alterado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("texto_vetado").length; i++){ document.getElementsByClassName("texto_vetado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("alterado").length; i++){ document.getElementsByClassName("alterado")[i].style.display = "block"; } for(var i = 0; i < document.getElementsByClassName("alterado").length; i++){ document.getElementsByClassName("alterado")[i].style.display = "block"; } document.querySelector("body").innerHTML+= "<style>strike{display:block;}</style>"; } } </script>]]>