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

Sites Pertecentes a (o) SP

Endereço Nota Erros Avisos

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

59.52 890 366
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('11,74,2,77,69,8,49,29,9,1,5,76,12,79,62,3,30,10,6,4,','126,328,455,469,447,491,463,404,308,167,164,312,163,309,468,435,104,475,98,107,100,102,96,281,327,316,321,320,322,317,319,409,236,108,299,233,105,103,413,111,472,106,300,480,114,478,115,479,120,1,82,295,3,298,74,296,78,80,431,91,466,287,75,128,130,331,127,131,32,484,76,297,474,388,392,390,386,387,389,83,87,329,86,451,325,85,6,292,180,464,301,441,303,302,182,190,314,187,184,183,186,185,188,181,193,194,470,28,93,92,174,330,324,178,176,169,326,179,171,460,'); ShowSubitemsId(1); 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>]]>