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

Sites Pertecentes a (o) SC

Endereço Nota Erros Avisos

www.saomartinho.sc.gov.br/cms/pagina/ver/codMapaItem/
22161

69.56 51 88
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 4 106 332 894 986
1.1.4 Presença de CSS(s) interno 2 50 57
1.1.6 Presença de javascript(s) interno 7 79 147 280 532 831 910 1130
106 <![CDATA[<div class="cabecalho-cima" style="background:url() no-repeat 50% 0;"> <div class="logo"> <a href="/"> <img src="/images/municipios/brasao/90x90/saomartinho.png"> </a> <br> <h1> <span>Município de</span> <br>São Martinho </h1> </div> <div id="topo-tempo"> <div class="tempo-hoje"> <span id="previsao-tempo-dia-1-icone"><img src="/images/loading.png" /></span> <div class="info"> <div class="dia"> <p class='titulo-previsao' id="previsao-tempo-dia-1"></p> <p class='condicao' id="previsao-tempo-dia-1-previsao">---</p> </div> <ul class='temperaturas'> <li class="min" id="previsao-tempo-dia-1-min">?</li> <li class="max" id="previsao-tempo-dia-1-max">?</li> </ul> </div> </div> <div class="tempo-amanha"> <span id="previsao-tempo-dia-2-icone"><img src="/images/loading.png" width="35" height="34" /></span> <div class="info"> <div class="dia"> <p class='titulo-previsao' id="previsao-tempo-dia-2"></p> <p class='condicao' id="previsao-tempo-dia-2-previsao">---</p> </div> <ul class='temperaturas'> <li class="min" id="previsao-tempo-dia-2-min">?</li> <li class="max" id="previsao-tempo-dia-2-max">?</li> </ul> </div> </div> <script type="text/javascript"> $(function() { //$('#topo-tempo').hide(); console.log('https://www.fecam.org.br/tempo.php?codPrevisao=4991'); $.ajax({ url: 'https://www.fecam.org.br/tempo.php?codPrevisao=4991', jsonpCallback: 'jsonCallback', contentType: "application/json", dataType: 'jsonp', cache: 'false', success: function(data){ data = data['tempo']; dc = 0; //Contador de dias; while(dc <= 1){ prefix = "#previsao-tempo-dia-"+(dc+1); dia = data['previsao'][dc]; $(prefix).html(dia['diaSemana']); $(prefix+'-max').html(dia['maxima']+"C"); $(prefix+"-min").html(dia['minima']+"C"); $(prefix+"-icone img").attr("src","/styles/layouts/pm/default/images/previsao-tempo/"+dia['tempo']+".png"); $(prefix+"-previsao").html(dia['condicao']); console.log(dia); dc++; } } }); }); </script> </div> <span id="ancoraMenu"><ul class="navigation"> <li> <a class="paginaInicialPm" href="/index/index/codMapaItem/16590">Início</a> </li> <li class="active"> <a class="pagina-municipio" href="/municipio/index/codMapaItem/16591">Município</a> <ul> <li> <a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/22157">Apresentação</a> </li> <li class="active"> <a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/22161">Símbolos</a> </li> <li> <a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/22163">Aspectos Econômicos</a> </li> <li> <a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/22165">Aspectos Gerais</a> </li> <li> <a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/22167">Aspectos Populacionais</a> </li> <li> <a class="agenda" href="/agenda/index/index/codMapaItem/22171">Calendário de Eventos</a> </li> </ul> </li> <li> <a class="pagina-governo" href="/governo/index/codMapaItem/16592">Governo</a> <ul> <li> <a class="estruturaOrganizacional" href="/estruturaorganizacional/index/index/codMapaItem/22208">Estrutura Organizacional</a> </li> </ul> </li> <li> <a class="pagina-transparencia" href="/transparencia/index/codMapaItem/16593">Transparência</a> <ul> <li> <a class="contasPublicas" href="/contaspublicas/index/index/codMapaItem/22036">Contas Públicas e LRF</a> </li> <li> <a class="links" href="https://leismunicipais.com.br/prefeitura/sc/sao-martinho" target="_blank">Leis Municipais</a> </li> <li> <a class="concursos" href="/concursos/index/index/codMapaItem/22219">Concursos</a> </li> <li> <a class="diretorio" href="/cms/diretorio/index/codMapaItem/57715">Tribunal de Contas Informações</a> </li> <li> <a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/117516">Convenios estaduais</a> </li> <li> <a class="links" href="https://transparencia.betha.cloud/#/Hyz0sJSlZbxKvawE1HpNSw==/consulta/5557">Licitações</a> </li> <li> <a class="links" href="https://transparencia.betha.cloud/#/Hyz0sJSlZbxKvawE1HpNSw==">Portal da Transparência</a> </li> <li> <a class="links" href="https://www.diariomunicipal.sc.gov.br/site/?r=site/index&amp;q= entidade:&quot;Prefeitura municipal de São Martinho&quot; data:[2021-01-01T00:00:00Z TO 2026-01-01T23:59:00Z]" target="_blank">Publicações oficiais</a> </li> </ul> </li> <li> <a class="links" href="/noticias/listar/">Notícias</a> </li> <li> <a class="links" href="//servicos.saomartinho.sc.gov.br">Carta de Serviços</a> </li> <li> <a class="links" href="https://turismo.saomartinho.sc.gov.br/" target="_blank">Turismo</a> </li> <li> <a class="contatos" href="/contatos/index/index/codMapaItem/16597">Contato</a> </li> </ul></span> </ul> </div>]]>
332 <![CDATA[<p style="text-align: left;" align="center"><em>Segue a Letra na &iacute;ntegra: ;</em></p>]]>
894 <![CDATA[<audio controls id="playeraudio" style="width:100%;" preload="false" > Seu navegador não tem suporte à audio. </audio>]]>
986 <![CDATA[<iframe id="map_canvas" width="100%" height="100%" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?key=AIzaSyAdSaQ8URf_ECVpY_fNomKj6pamt457mwA&q=-28.1653455507093,-48.9793279357681&center=-28.1653455507093,-48.9793279357681&maptype=satellite&zoom=15" allowfullscreen> </iframe>]]>
50 <![CDATA[<style> .loading-site:after { background-image: url("/images/municipios/brasao/90x90/saomartinho.png"); background-position: center; background-repeat: no-repeat; } </style>]]>
57 <![CDATA[<style> .header { background-image: url("https://static.fecam.net.br/thumbs/670/1712125_resize_2000_841.jpg"); } .img-footer { background-image: url("https://static.fecam.net.br/thumbs/670/1712124_resize_2000_45.png"); } </style>]]>
79 <![CDATA[<script type="text/javascript"> var contraste = 'ativar'; const url = "/zbox/contraste"; $("#pluginContrasteIsAtivo").click(function(){ let dataPost = { contraste: contraste, }; let xhr = $.ajax({ headers: {"Access-Control-Allow-Origin": "*"}, url: url, method: "POST", data: dataPost, dataType: "json" }); xhr.setRequestHeader("Access-Control-Allow-Origin", "*"); xhr.setRequestHeader("Access-Control-Allow-Credentials", "true"); xhr.setRequestHeader("Access-Control-Allow-Methods", "GET,HEAD,OPTIONS,POST,PUT"); xhr.setRequestHeader("Access-Control-Allow-Headers", "Access-Control-Allow-Headers, Origin,Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers"); xhr.complete(function () { location.reload(); }); }); </script>]]>
147 <![CDATA[<script type="text/javascript"> $(function() { //$('#topo-tempo').hide(); console.log('https://www.fecam.org.br/tempo.php?codPrevisao=4991'); $.ajax({ url: 'https://www.fecam.org.br/tempo.php?codPrevisao=4991', jsonpCallback: 'jsonCallback', contentType: "application/json", dataType: 'jsonp', cache: 'false', success: function(data){ data = data['tempo']; dc = 0; //Contador de dias; while(dc <= 1){ prefix = "#previsao-tempo-dia-"+(dc+1); dia = data['previsao'][dc]; $(prefix).html(dia['diaSemana']); $(prefix+'-max').html(dia['maxima']+"C"); $(prefix+"-min").html(dia['minima']+"C"); $(prefix+"-icone img").attr("src","/styles/layouts/pm/default/images/previsao-tempo/"+dia['tempo']+".png"); $(prefix+"-previsao").html(dia['condicao']); console.log(dia); dc++; } } }); }); </script>]]>
280 <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
532 <![CDATA[<script type="text/javascript"> var imagemApliada = Vue.component('imagem-ampliada', { template: '\ <img v-bind:src="imagem.ampliada" class="vue-modal-gallery-keep-open" v-if="visible">\ <img v-bind:src="imagem.ampliadaMobile" v-else class="vue-modal-gallery-keep-open" v-if="visible">\ ', props: ['imagem', 'visible'], computed: { imagemAmpliada: function () { if (typeof window.orientation !== 'undefined' || window.innerWidth < 700) { return false; } return true; }, }, data: function () { return { }; }, }); var videoApliado = Vue.component('video-ampliado', { template: '\ <iframe class="videos-youtube vue-modal-gallery-keep-open" width="100%"\ height="100%"\ frameborder="0"\ allowfullscreen\ v-bind:src="video.urlEmbed + \'?enablejsapi=1\'"></iframe>\ ', props: ['video'], data: function () { return { }; }, }); var vueGaleriaModal = new Vue({ el: '#galeriaVue_modal', data: { state: "closed", index: 0, selector: 0, galeriaVideos: [], galeriaImagens: [ { "creditos": "Munic\u00edpio de S\u00e3o Martinho", "legenda": "Bras\u00e3o", "original": "\/uploads\/670\/imagens\/38770.jpeg", "thumb": "https:\/\/static.fecam.net.br\/thumbs\/670\/38770_resample_fixo_130_130.jpeg", "ampliada": "https:\/\/static.fecam.net.br\/thumbs\/670\/38770_resize_1500_1500.jpeg", "ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/670\/38770_resize_500_500.jpeg" }, { "creditos": "Munic\u00edpio de S\u00e3o Martinho", "legenda": "Bandeira", "original": "\/uploads\/670\/imagens\/38892.jpg", "thumb": "https:\/\/static.fecam.net.br\/thumbs\/670\/38892_resample_fixo_130_130.jpg", "ampliada": "https:\/\/static.fecam.net.br\/thumbs\/670\/38892_resize_1500_1500.jpg", "ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/670\/38892_resize_500_500.jpg" } ], galeriaMultimidia: [], thumbsVisiveis: 7 }, computed: { totalMidias: function(){ return this.galeriaVideos.length + this.galeriaImagens.length; }, showPrevSelector: function(){ thumbsVisiveis = this.thumbsVisiveis; if (this.selector === 0) { return false; } return (this.totalMidias > thumbsVisiveis) ? true : false; }, showNextSelector: function(){ thumbsVisiveis = this.thumbsVisiveis; if((this.totalMidias - this.selector - thumbsVisiveis) <= 0){ return false; } return (this.totalMidias > thumbsVisiveis) ? true : false; }, hasSelectors: function() { return this.totalMidias > 7; } }, created: function () { var vue = this; window.addEventListener('keydown', function (event) { vue.monitorarTeclado(event); vue.resizeSelector(); }); }, methods: { getBackgroundSrc: function(src){ if(this.state !== "closed") { return 'url('+src+')'; } else { return null; } }, ampliarImagem: function (index) { var _self = this; window.setTimeout(function(){ _self.state = "opened"; },500); this.trocarImagem(index); $('#galeriaVue_modal').fadeIn(); }, pausarVideos: function () { $('.videos-youtube').each(function () { this.contentWindow.postMessage('{"event":"command","func":"' + 'stopVideo' + '","args":""}', '*'); }); }, fecharGaleria: function () { if (this.state == "opened") { this.pausarVideos(); this.state = "closed"; $('#galeriaVue_modal').fadeOut(); } }, prev: function () { index = this.index; if (index > 0) { index--; this.trocarImagem(index); } else { index = this.numItens() - 1; this.trocarImagem(index); } }, next: function () { index = this.index; if (index < this.numItens() - 1) { index++; this.trocarImagem(index); } else { this.trocarImagem(0); } }, prevSelector: function () { if (this.selector > 0) { this.selector--; this.ajustarSelector(); } }, nextSelector: function () { this.selector++; this.ajustarSelector(); }, ajustarSelector: function () { if(this.hasSelectors){ var liWidth = $('#galeriaVue_modal .selector .sliderSelector .list-selector li').outerWidth(true); var marginAdjuste = -(liWidth * this.selector); var sliderSelector = $('#galeriaVue_modal .selector .sliderSelector').width(); var listSelector = $('#galeriaVue_modal .sliderSelector .list-selector').width(); var consult = listSelector + marginAdjuste + liWidth; if (consult > sliderSelector) { $('#galeriaVue_modal .selector .sliderSelector .list-selector').css('margin-left', marginAdjuste); } else { this.prevSelector(); } } }, trocarImagem: function (index = 0) { this.pausarVideos(); this.index = index; var li = $('#galeriaVue_modal .list-ampliadas li:eq(' + index + ')'); $('#galeriaVue_modal .list-ampliadas li').hide(); li.fadeIn(); li.css('display', 'flex'); $('#galeriaVue_modal .head .legenda').hide(); $('#galeriaVue_modal .head .legenda:eq(' + index + ')').fadeIn(); var thumbsVisiveis = this.thumbsVisiveis; var metadeThumbsVisiveis = Math.floor(thumbsVisiveis/2); var selector = index - metadeThumbsVisiveis; if (selector > 0) { this.selector = selector; this.ajustarSelector(); } else { this.selector = 0; this.ajustarSelector(); } if (li.hasClass('video-vue')) { var video = this.galeriaVideos[index]; $('#galeriaVue_modal .download').hide(); } else { index -= this.galeriaVideos.length; if(index < this.galeriaImagens.length) { var imagem = this.galeriaImagens[index]; $('#galeriaVue_modal .download').show(); $('#galeriaVue_modal .download a').attr('href', imagem.original); } else { index -= this.galeriaImagens.length; var imagem = this.galeriaMultimidia[index]; if(imagem.tipo == 'imagem') { $('#galeriaVue_modal .download').show(); $('#galeriaVue_modal .download a').attr('href', imagem.original); } else { $('#galeriaVue_modal .download').hide(); } } } }, ampliarSelector: function () { $('#galeriaVue_modal .selector').addClass('ampliado'); this.resizeSelector(); }, reduzirSelector: function () { $('#galeriaVue_modal .selector').removeClass('ampliado'); this.resizeSelector(); }, resizeSelector: function () { var liWidth = $('#galeriaVue_modal .selector .sliderSelector .list-selector li').outerWidth(true); $('#galeriaVue_modal .selector .sliderSelector .list-selector').width(liWidth * $('.selector .sliderSelector .list-selector li').length); var thumbsVisiveis = Math.floor($('#galeriaVue_modal .selector .sliderSelector').width() / liWidth); this.thumbsVisiveis = thumbsVisiveis; this.ajustarSelector(); }, monitorarTeclado: function (event) { if (event.keyCode == 27) this.fecharGaleria(); else if (event.keyCode == 37) this.prev(); else if (event.keyCode == 38) this.ampliarSelector(); else if (event.keyCode == 39) this.next(); else if (event.keyCode == 40) this.reduzirSelector(); }, numItens: function () { return this.galeriaImagens.length + this.galeriaMultimidia.length + this.galeriaVideos.length; }, isActive: function(index){ return (this.index == index); } }, watch: { state: function(){ this.resizeSelector(); } } }); jQuery(function ($) { vueGaleriaModal.resizeSelector(); $(window).on("click", function (event) { if ($(event.target).data('close-modal') == true) { vueGaleriaModal.fecharGaleria(); } if (!$(event.target).hasClass("vue-modal-gallery-keep-open")) { if ($(event.target).parents(".vue-modal-gallery-keep-open").size() === 0) { vueGaleriaModal.fecharGaleria(); } } }); }); </script>]]>
831 <![CDATA[<script type="text/javascript"> var vueGaleria = new Vue({ el: '#galeriaVue', data: { index: 0, galeriaVideos: [], galeriaImagens: [ { "creditos": "Munic\u00edpio de S\u00e3o Martinho", "legenda": "Bras\u00e3o", "original": "\/uploads\/670\/imagens\/38770.jpeg", "thumb1": "https:\/\/static.fecam.net.br\/thumbs\/670\/38770_resample_600_600.jpeg", "thumb2": "https:\/\/static.fecam.net.br\/thumbs\/670\/38770_resample_fixo_500_500.jpeg", "thumb3": "https:\/\/static.fecam.net.br\/thumbs\/670\/38770_resample_fixo_200_200.jpeg", "principal": true, "ampliada": "https:\/\/static.fecam.net.br\/thumbs\/670\/38770_resize_1500_1500.jpeg" }, { "creditos": "Munic\u00edpio de S\u00e3o Martinho", "legenda": "Bandeira", "original": "\/uploads\/670\/imagens\/38892.jpg", "thumb1": "https:\/\/static.fecam.net.br\/thumbs\/670\/38892_resample_600_600.jpg", "thumb2": "https:\/\/static.fecam.net.br\/thumbs\/670\/38892_resample_fixo_500_500.jpg", "thumb3": "https:\/\/static.fecam.net.br\/thumbs\/670\/38892_resample_fixo_200_200.jpg", "principal": false, "ampliada": "https:\/\/static.fecam.net.br\/thumbs\/670\/38892_resize_1500_1500.jpg" } ], galeriaMultimidia: [], modal: vueGaleriaModal }, created: function () { let numItens = this.galeriaImagens.length + this.galeriaMultimidia.length + this.galeriaVideos.length; let classGaleria = 'num-imagens-veja-mais'; if(numItens <= 12) { classGaleria = 'num-imagens-' + numItens; } $('#galeriaVue .list-thumbs').addClass(classGaleria); }, methods: { abrirModal: function (index) { this.modal.ampliarImagem(index); }, } }); </script>]]>
910 <![CDATA[<script type="text/javascript"> jQuery(function($) { $('.playerAudioContent').hide(); function playSound(imagePlay) { $('.playerAudioContent').slideDown('slow'); var sound = $(imagePlay).attr('sound'); if(sound == $('#playeraudio').attr('src')) { if($(imagePlay).hasClass('pause')) { document.getElementById('playeraudio').play(); $(imagePlay).removeClass('pause'); } else { document.getElementById('playeraudio').pause(); $(imagePlay).addClass('pause'); } } else { $('.image-play').removeClass('pause'); $('#playeraudio').attr('src', sound); document.getElementById('playeraudio').play(); $('.audio').removeClass('active'); $(imagePlay).parent().addClass('active'); } } $('.image-play').click(function(){ playSound(this); }); document.getElementById('playeraudio').addEventListener("play", function () { $('.playlist .active .image-play').removeClass('pause'); }); document.getElementById('playeraudio').addEventListener("pause", function () { $('.playlist .active .image-play').addClass('pause'); }); document.getElementById('playeraudio').addEventListener('ended',function(e){ var activeAudio = $('.audios .audio.active'); var index = activeAudio.index() + 1; var nextAudio = $('.audios .audio').eq(index); if(index < $('.audios .audio').length) { window.setTimeout(function(){ playSound(nextAudio.find('.image-play')) }, 2000); } else { activeAudio.find('.image-play').addClass('pause'); } }); }); </script>]]>
1130 <![CDATA[<script type='text/javascript'> var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-20437164-49']); _gaq.push(['_trackPageview'], '/cms/pagina/ver/codMapaItem/22161'); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); jQuery(document).ajaxComplete(function(e, xhr, settings){ _gaq.push(['_trackPageview', settings.url]); }); </script>]]>