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

Sites Atualizados

Lista dos novos sites adicionados a plataforma na última atualização

Endereço Nota Erros Avisos

www.limeira.sp.gov.br/sitenovo/service.php?servico=3
&categoria=36

59.52 890 242
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 6 24 40 47 74 442 1180
24 <![CDATA[<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-44422926-1', 'auto'); ga('send', 'pageview'); </script>]]>
40 <![CDATA[<script type="text/javascript"> jQuery(function($) { $('.slider').sss(); }); </script>]]>
47 <![CDATA[<script type="text/javascript"> // Use jQuery com a variavel $j(...) var $j = jQuery.noConflict(); $j(document).ready(function() { $j(".voltarTopo").hide(); $j(function () { $j(window).scroll(function () { //Tempo para aparecer a seta if ($j(this).scrollTop() > 300) { $j('.voltarTopo').fadeIn(); } else { $j('.voltarTopo').fadeOut(); } }); $j('.voltarTopo').click(function() { //Velocidade para voltar ao topo $j('body,html').animate({scrollTop:0},600); }); });}); </script>]]>
74 <![CDATA[<script type="text/javascript"> var is_mouse_out = true; var transitions_menu = false; var panel1_topanel2 = ""; var contents_items = ""; function HiddingMenusDrop() { if(is_mouse_out == true && transitions_menu == false) { document.getElementById('show_bg_main_menu_cidadao').style.display = "none"; document.getElementById('show_bg_main_menu_empresa').style.display = "none"; document.getElementById('show_bg_main_menu_turista').style.display = "none"; document.getElementById('show_bg_main_menu_servidor').style.display = "none"; } } function MouseOnMenuDrop() { is_mouse_out = false; } function MouseOutMenuDrop() { is_mouse_out = true; } function HideMenusDrop() { setTimeout(HiddingMenusDrop,50); } function OpenMenuDrop(menudrop) { if(window.innerWidth >= 960) { transitions_menu = true; if(menudrop != "") { if(menudrop != "show_bg_main_menu_cidadao"){ document.getElementById('show_bg_main_menu_cidadao').style.display = "none"; } if(menudrop != "show_bg_main_menu_empresa"){ document.getElementById('show_bg_main_menu_empresa').style.display = "none"; } if(menudrop != "show_bg_main_menu_turista"){ document.getElementById('show_bg_main_menu_turista').style.display = "none"; } if(menudrop != "show_bg_main_menu_servidor"){ document.getElementById('show_bg_main_menu_servidor').style.display = "none"; } if(document.getElementById(menudrop).style.display == "block") { document.getElementById(menudrop).style.display = "none"; } else { document.getElementById(menudrop).style.display = "block"; } } setTimeout(function(){ transitions_menu = false; },55); } } // Função para exibição dos subitens dos serviços function ShowSubitemsId(id_panel1) { var split_transform_panel2 = panel1_topanel2.split(','); for(var i=0; i<split_transform_panel2.length-1; i++){ /*$('#'+split_transform_panel2[i]).hide('fast');*/ document.getElementById('hpan' + split_transform_panel2[i]).style.display = 'none'; document.getElementById('item' + split_transform_panel2[i]).className = ''; } /* $('#'+id_panel1).show('fast');*/ document.getElementById('hpan' + id_panel1).style.display = 'block'; document.getElementById('item' + id_panel1).className = 'active'; /*Permalinks*/ url = new URLSearchParams(window.location.search.slice(1)); var servico = url.get('servico'); console.log(''); console.log('Permalink - Inicio'); console.log('Serviço: ' + url.get('servico')); console.log('Categoria: ' + id_panel1); console.log('Permalink - Fim'); window.history.pushState('', '', 'service.php?servico=' + servico + '&categoria=' + id_panel1); } function ShowContentItem(id_content) { var split_transform_content = contents_items.split(','); for(var i=0; i<split_transform_content.length-1; i++){ $('#'+'content' + split_transform_content[i]).hide(200); document.getElementById('subitem' + split_transform_content[i]).className = ''; } $('#'+'content' + id_content).show(200); document.getElementById('subitem' + id_content).className = 'active_itens'; /*Permalinks*/ url = new URLSearchParams(window.location.search.slice(1)); var servico = url.get('servico'); var categoria = url.get('categoria'); console.log(''); console.log('Permalink - Inicio'); console.log('Serviço: ' + url.get('servico')); console.log('Categoria: ' + url.get('categoria')); console.log('Item: ' + id_content); console.log('Permalink - Fim'); window.history.pushState('', '', 'service.php?servico=' + servico + '&categoria=' + categoria + '&item=' + id_content); } function SetItemsPanel2(str_items,str_contents) { panel1_topanel2 = str_items; contents_items = str_contents; } function LoadContentSubItemSingle(id_subitem, id_content) { var split_transform_content = contents_items.split(','); for(var i=0; i<split_transform_content.length-1; i++){ $('#'+'content' + split_transform_content[i]).hide(200); document.getElementById('subitem' + split_transform_content[i]).className = ''; } var dataString = 'id_content=' + id_content; $.ajax( { type: "GET", url: "includes/get_content_service.php", data: dataString, beforeSend: function() { $("#content_page_service").html('<div style="position:relative;top:30px;">Carregando conteúdo...</div>'); }, success: function(result) { $("#content_page_service").html(result); document.getElementById('subitem' + id_subitem).className = 'active'; RefreshSizePanels(); } }); /*Permalinks*/ url = new URLSearchParams(window.location.search.slice(1)); var servico = url.get('servico'); var categoria = url.get('categoria'); console.log(''); console.log('Permalink - Inicio'); console.log('Serviço: ' + url.get('servico')); console.log('Categoria: ' + url.get('categoria')); console.log('Item: ' + id_subitem); console.log('Permalink - Fim'); window.history.pushState('', '', 'service.php?servico=' + servico + '&categoria=' + categoria + '&item=' + id_subitem); } function LoadContentService(id_content) { var dataString = 'id_content=' + id_content; $.ajax( { type: "GET", url: "includes/get_content_service.php", data: dataString, beforeSend: function() { $("#content_page_service").html('<div style="position:relative;top:30px;">Carregando conteúdo...</div>'); }, success: function(result) { $("#content_page_service").html(result); RefreshSizePanels(); } }); /*Permalinks*/ url = new URLSearchParams(window.location.search.slice(1)); var servico = url.get('servico'); var categoria = url.get('categoria'); var item = url.get('item'); console.log(''); console.log('Permalink - Inicio'); console.log('Serviço: ' + url.get('servico')); console.log('Categoria: ' + url.get('categoria')); console.log('Item: ' + url.get('item')); console.log('Conteúdo: ' + id_content); console.log('Permalink - Fim'); window.history.pushState('', '', 'service.php?servico=' + servico + '&categoria=' + categoria + '&item=' + item + '&conteudo=' + id_content); } function SetServiceMenuMobileItem() { $("#subitens_sel_cc").html ('<div id="select_menu_service"><select onChange="" class="menu_service"><option value="" selected="selected" disabled="disabled">-</option></select></div>'); var x = document.getElementById("select_1").selectedIndex; var y = document.getElementById("select_1").options; // alert("Index: " + y[x].index + " is " + y[x].value); var dataString = 'mode=item' + '&id=' + y[x].value; $.ajax( { type: "GET", url: "includes/get_ccvalues_servicos.php", data: dataString,/* beforeSend: function() { $("#content_page_service").html('<div style="position:relative;top:30px;">Carregando conteúdo...</div>'); },*/ success: function(result) { $("#itens_sel_cc").html(result); } }); } function SetServiceMenuMobileSubItem() { var x = document.getElementById("select_2").selectedIndex; var y = document.getElementById("select_2").options; // alert("Index: " + y[x].index + " is " + y[x].value); var dataString = 'mode=subitem' + '&id=' + y[x].value; $.ajax( { type: "GET", url: "includes/get_ccvalues_servicos.php", data: dataString,/* beforeSend: function() { $("#content_page_service").html('<div style="position:relative;top:30px;">Carregando conteúdo...</div>'); },*/ success: function(result) { $("#subitens_sel_cc").html(result); } }); } function SetServiceMenuMobileContent() { var x = document.getElementById("select_3").selectedIndex; var y = document.getElementById("select_3").options; var dataString = 'id_content=' + y[x].value; $.ajax( { type: "GET", url: "includes/get_content_service.php", data: dataString, beforeSend: function() { $("#content_page_service").html('<div style="position:relative;top:30px;">Carregando conteúdo...</div>'); }, success: function(result) { $("#content_page_service").html(result); } }); } </script>]]>
442 <![CDATA[<script> function goSearchAjax() { document.getElementById('bg_search_ajax').style.display = "block"; var dataString = 'spkeyword=' + document.getElementById('keyword').value; $.ajax( { type: "GET", url: "includes/get_search_ajax.php", data: dataString, /* beforeSend: function() { $("#box_search_ajax").html('<div style="position:relative;top:30px;">Buscando por \'' + document.getElementById('keyword').value + '\'...</div>'); }, */ success: function(result) { $("#box_search_ajax").html(result); } }); } function hideSearchAjax() { document.getElementById('bg_search_ajax').style.display = "none"; } </script>]]>
1180 <![CDATA[<script type="text/javascript"> var itemColumnCenterSelected = 0; function setItemColumnCenterSelected(number) { itemColumnCenterSelected = number; } function auxRefreshSizePanels() { var alturac = document.getElementById('bg_page_content_service').offsetHeight; var altura1 = document.getElementById('bg_menu_service_01').offsetHeight; var altura2 = 0; if(itemColumnCenterSelected != 0) { altura2 = document.getElementById('bg_menu_service_02').offsetHeight + document.getElementById('content'+itemColumnCenterSelected).offsetHeight; + 30; oldHeightIncrement = document.getElementById('content'+itemColumnCenterSelected).offsetHeight; } else { altura2 = document.getElementById('bg_menu_service_02').offsetHeight; } if(alturac > altura1 && alturac > altura2) { document.getElementById('bg_menu_service_01').style.height = alturac + 'px'; document.getElementById('bg_menu_service_02').style.height = alturac + 'px'; } if(altura1 > alturac && altura1 > altura2) { document.getElementById('bg_menu_service_02').style.height = altura1 + 'px'; //document.getElementById('bg_page_content_service').style.height = altura1 + 'px'; } if(altura2 > alturac && altura2 > altura1) { document.getElementById('bg_menu_service_01').style.height = altura2 + 'px'; //document.getElementById('bg_page_content_service').style.height = altura2 + 'px'; document.getElementById('bg_menu_service_02').style.height = altura2 + 'px'; } } function RefreshSizePanels() { setTimeout(function(){ auxRefreshSizePanels(); },150); } SetItemsPanel2('36,35,31,33,43,42,44,32,34,47,37,','280,453,230,199,421,195,200,197,198,212,279,216,219,457,385,456,214,213,217,220,218,256,254,260,258,259,255,261,257,276,265,272,271,277,274,266,275,270,273,268,269,267,278,262,205,211,207,210,403,201,202,223,222,225,293,294,282,238,452,'); ShowSubitemsId(36); setTimeout(function(){ $("#content_page_service").html('<div style="position:relative;top:50px;">Selecione uma das opções do painel ao lado para visualizar o conteúdo.</div>'); },10); RefreshSizePanels(); /* */ </script>]]>