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

Sites Pertecentes a (o) SP

Endereço Nota Erros Avisos

www.daescs.sp.gov.br/allnews

73.59 28 106
Recomendações Avaliadas
1.1 Respeitar os Padrões Web.

Recomendações

Número Descrição Quantidade Linhas Código Fonte
1.1.3 Presença de CSS(s) in-line 8 162 632 649 661 681 695 709 841
1.1.6 Presença de javascript(s) interno 4 82 1080 1084 1147
162 <![CDATA[<ul class="" style=""> <div class="input-group search-field"> <form id="frm_busca" action="/busca" method="POST"> <input type="hidden" name="_token" value="Voe9ewLLFdI7HJd4WjcsTBaF0gwma8pszrZBSF2j"> <input type="text" name="termo" class="form-control busca-input" placeholder="Faça sua busca aqui..." aria-describedby="btn-pesquisar"> </form> <span class="input-group-addon btn-search-bar" id="btn-pesquisar"> <i class="fa fa-search" aria-hidden="true"></i> </span> </div> </ul>]]>
632 <![CDATA[<figure style="background-image:url(http://www.saesascs.sp.gov.br/storage/posts/June2022/87X7D2iaNwyDVSIXvwBc.jpg);"></figure>]]>
649 <![CDATA[<figure style="background-image:url(http://www.saesascs.sp.gov.br/storage/posts/December2021/zpAiBf85fw3llsEMzRNt.JPG);"></figure>]]>
661 <![CDATA[<figure style="background-image:url(http://www.saesascs.sp.gov.br/storage/posts/August2021/NMhDF0lMms9xfTih9UWa.jpg);"></figure>]]>
681 <![CDATA[<div class="thumb-last-news" style="background-image: url(http://www.saesascs.sp.gov.br/storage/posts/August2023/dDrAa2slzMzPVhU3MEpk.jpg)"></div>]]>
695 <![CDATA[<div class="thumb-last-news" style="background-image: url(http://www.saesascs.sp.gov.br/storage/posts/August2023/wL0n4stQwUpc0CeRl0aY.jpg)"></div>]]>
709 <![CDATA[<div class="thumb-last-news" style="background-image: url(http://www.saesascs.sp.gov.br/storage/posts/August2023/hVHPcG3D8LqhcQv9ugSL.jpg)"></div>]]>
841 <![CDATA[<div class="ajax-load text-center" style="display:none"> <p><img src="http://demo.itsolutionstuff.com/plugin/loader.gif">Carregando noticias</p> </div>]]>
82 <![CDATA[<script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-123748361-1'); </script>]]>
1080 <![CDATA[<script> AOS.init(); </script>]]>
1084 <![CDATA[<script> $(function() { $(window).scroll(function() { if ($(window).scrollTop() >= $(document).height() - $(window).height() - 280) { console.log("buscando noticias"); var salt = $(".noticias").length; loadMoreData(salt); } }); }); function loadMoreData(salt){ $.ajax( { url: "/loadmore/" + salt, method: "GET", beforeSend: function() { $('.ajax-load').show(); } }) .done(function(data) { if(data != ""){ $('.ajax-load').hide(); if(salt == $(".noticias").length){ $("#posts").append(data); } }else{ $(window).unbind('scroll'); $('.ajax-load').hide(); } }) .fail(function(jqXHR, ajaxOptions, thrownError) { alert('server not responding...'); }); } /*$(function() { $("#loadmore").on("click", function(){ var salt = $(".noticias").length; $.ajax({ url: "/loadmore/" + salt, method: "GET", success : function(resp){ if(resp != ""){ $("#posts").append(resp); }else{ alert("não existem mais mensagens para carregar..."); $("#loadmore").hide(); } } }); }); });*/ </script>]]>
1147 <![CDATA[<script> function maskIt(w,e,m,r,a){ // Cancela se o evento for Backspace if (!e) var e = window.event if (e.keyCode) code = e.keyCode; else if (e.which) code = e.which; // Variáveis da função var txt = (!r) ? w.value.replace(/[^\d]+/gi,'') : w.value.replace(/[^\d]+/gi,'').reverse(); var mask = (!r) ? m : m.reverse(); var pre = (a ) ? a.pre : ""; var pos = (a ) ? a.pos : ""; var ret = ""; if(code == 9 || code == 8 || txt.length == mask.replace(/[^#]+/g,'').length) return false; // Loop na máscara para aplicar os caracteres for(var x=0,y=0, z=mask.length;x<z && y<txt.length;){ if(mask.charAt(x)!='#'){ ret += mask.charAt(x); x++; }else{ ret += txt.charAt(y); y++; x++; } } // Retorno da função ret = (!r) ? ret : ret.reverse() w.value = pre+ret+pos; } $( document ).ready(function(){ $("#btn-pesquisar").on("click", function(){ $("#frm_busca").submit(); }); $("#optionsRadios1").on("click", function(){ $("#pfName").show(500); $("#pfDoc").show(500); $("#pjName").hide(500); $("#pjDoc").hide(500); $("#pjOpt").hide(500); $("#pjPrc").hide(500); }); $("#optionsRadios2").on("click", function(){ $("#pfName").hide(500); $("#pfDoc").hide(500); $("#pjName").show(500); $("#pjDoc").show(500); $("#pjOpt").show(500); $("#pjPrc").hide(500); $("#seletor").val(1); }); $("#seletor").on("change", function(){ if($(this).val() == '3'){ $("#pjPrc").show(500); }else{ $("#pjPrc").hide(500); } }); $("#form-contact").on("click", function(){ var form = $("#contactForm").serialize(); var email = $("#email").val(); var emailFilter=/^.+@.+\..{2,}$/; if($("#razaos").val()=="" && $("#nome").val()==""){ var valid = false; } var illegalChars= /[\(\)\<\>\,\;\:\\\/\"\[\]]/; if(!(emailFilter.test(email))||email.match(illegalChars) || valid==false ){ swal( 'Atenção', 'Prencha os campos obrigatórios.', 'error' ); $("#nome").css("background-color", "#ff4d4d"); $("#razaosocial").css("background-color", "#ff4d4d"); $("#email").css("background-color", "#ff4d4d"); }else{ $('.btn-enviar').button('loading'); jQuery.ajax({ headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') }, type : "POST", url : "/sendcontato", data : form, success: function(res){ console.log(res); if(res.success){ swal( 'Seu Email foi Enviado!', 'Logo iremos responder.', 'success' ); $('.btn-enviar').button("reset"); document.getElementById("contactForm").reset(); }else{ swal( 'Erro ao enviar email!', 'Tente novamente mais tarde.', 'error' ); } } }); } }); }); var swiper = new Swiper('.swiper-container', { fadeEffect: { crossFade: true }, slidesPerView: 1, spaceBetween: 0, autoplay: { delay: 4500, disableOnInteraction: false, }, loop: true, pagination: { el: '.swiper-pagination', clickable: true, }, navigation: { nextEl: '.swiper-button-next', prevEl: '.swiper-button-prev', }, }); </script>]]>