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

Sites Pertecentes a (o) SP

Endereço Nota Erros Avisos

semac.piracicaba.sp.gov.br/cadastro-municipal-de-cult
ura/

71.41 86 126
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 24 112 141 163 317 354 356 392 394 512 514 594 919 937 1148 1150 1186 1188 1224 1226 1262 1264 1668 1670 1876
1.1.4 Presença de CSS(s) interno 4 14 30 85 248
1.1.6 Presença de javascript(s) interno 23 10 52 224 359 397 426 517 563 578 584 591 603 619 650 1089 1153 1191 1229 1267 1673 1893 1967 2128
112 <![CDATA[<div style='position: relative; margin:auto; height:100%; width:100%;'> <a href="http://semac.piracicaba.sp.gov.br"> <img src="http://educativafm.com.br/piracicaba_brasao_menor_top.png" id="bar-brasao" align="left" border="0"> <div id="bar-title" >CULTURA</div> </a> <div id="menu-show-button" class="navbar-right-item "> <a href='javascript:;' class="d-none d-sm-block">Menu</a> <a href='javascript:;' class="d-sm-none" title="Menu"><i class="fa fa-bars"></i></a> </div> <div class="navbar-right-item "> <a href="http://semac.piracicaba.sp.gov.br/agenda/" class="d-none d-sm-block">Agenda Cultural</a> <a href="http://semac.piracicaba.sp.gov.br/agenda/" class="d-sm-none" title="Agenda Cultural"><i class="fa fa-calendar"></i></a> </div> </div>]]>
141 <![CDATA[<div class='clearfix' style='display: block; width: 100%; padding: 15px;'> <div class='menu-icon' title='Home'> <a href='http://semac.piracicaba.sp.gov.br'><i class="fa fa-home"></i></a> </div> <div class='menu-icon' title='Agenda Cultural'> <a href='http://semac.piracicaba.sp.gov.br/agenda/'><i class="fa fa-calendar"></i></a> </div> <div class="menu-search"> <div class="search-div"> <form role="search" method="get" class="search-form" action="http://semac.piracicaba.sp.gov.br/"> <input type="text" name="s" id="search" value="" placeholder="Procurar"/> <button type="submit" class="search-submit"><i class="fa fa-search"></i></button> </form> </div> </div> </div>]]>
163 <![CDATA[<div style='border-bottom: 1px solid white; margin: 0 15px;'></div>]]>
317 <![CDATA[<p style='text-align: right;'><a href="http://semac.piracicaba.sp.gov.br/cadastro-municipal-de-cultura-faq/">Perguntas Frequentes</a></p>]]>
354 <![CDATA[<div style="display: flex; flex-grow: 1; margin-left: 15px"> <label>CNPJ:</label> <input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="tipo-de-cadastro-pessoa-juridica" value=""/> </div>]]>
356 <![CDATA[<input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="tipo-de-cadastro-pessoa-juridica" value=""/>]]>
392 <![CDATA[<div style="display: flex; flex-grow: 1; margin-left: 15px"> <label>Qual?</label> <input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="tipo-de-cadastro-organizacao-informal" value=""/> </div>]]>
394 <![CDATA[<input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="tipo-de-cadastro-organizacao-informal" value=""/>]]>
512 <![CDATA[<div style="display: flex; flex-grow: 1; margin-left: 15px"> <label>Qual?</label> <input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="especificar-pessoa-juridica-outro" value=""/> </div>]]>
514 <![CDATA[<input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="especificar-pessoa-juridica-outro" value=""/>]]>
594 <![CDATA[<h6 style="margin-bottom: 15px;">Endereço</h6>]]>
919 <![CDATA[<input type="text" style="display: inline-block; width: 50%; margin-left: 15px;" class="form-control" name="areas-de-atuacao-outro-detalhe" value=""/>]]>
937 <![CDATA[<textarea style="height: 200px;" class="form-control " name="fale-um-pouco" ></textarea>]]>
1148 <![CDATA[<div style="display: flex; flex-grow: 1; margin-left: 15px"> <label>Qual?</label> <input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="ja-foi-contemplado-municipal" value=""/> </div>]]>
1150 <![CDATA[<input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="ja-foi-contemplado-municipal" value=""/>]]>
1186 <![CDATA[<div style="display: flex; flex-grow: 1; margin-left: 15px"> <label>Qual?</label> <input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="ja-foi-contemplado-estadual" value=""/> </div>]]>
1188 <![CDATA[<input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="ja-foi-contemplado-estadual" value=""/>]]>
1224 <![CDATA[<div style="display: flex; flex-grow: 1; margin-left: 15px"> <label>Qual?</label> <input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="ja-foi-contemplado-federal" value=""/> </div>]]>
1226 <![CDATA[<input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="ja-foi-contemplado-federal" value=""/>]]>
1262 <![CDATA[<div style="display: flex; flex-grow: 1; margin-left: 15px"> <label>Qual?</label> <input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="ja-foi-contemplado-outro" value=""/> </div>]]>
1264 <![CDATA[<input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="ja-foi-contemplado-outro" value=""/>]]>
1668 <![CDATA[<div style="display: flex; flex-grow: 1; margin-left: 15px"> <label>Qual(is)?</label> <input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="e-titular-sim" value=""/> </div>]]>
1670 <![CDATA[<input type="text" style="flex-grow: 1; margin-left: 5px; " class="form-control" name="e-titular-sim" value=""/>]]>
1876 <![CDATA[<img src="http://semac.piracicaba.sp.gov.br/wp-content/themes/semactur/assets/img/centro-de-informatica.png" style="margin-right:5px;" width="50" border="0">]]>
14 <![CDATA[<style type="text/css"> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 .07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style>]]>
30 <![CDATA[<style id='addtoany-inline-css' type='text/css'> .addtoany_content_bottom{ margin:40px 0px; } .addtoany_list a > span { border-radius: 0px !important; } </style>]]>
85 <![CDATA[<style type="text/css">.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style>]]>
248 <![CDATA[<style> .required { color: red; } .border-red { border: 1px solid red; } .border-red-padding { border: 1px solid red; padding: 15px; border-radius: 3px; margin-bottom: 15px; } .border-grey-padding { border: 1px solid #cecece; padding: 15px; border-radius: 3px; margin-bottom: 15px; } .explicacao { padding: 30px; background: #dcf5ff; } .modelo { padding: 30px; background: #b2e9ff; } #form-cadastro-municipa-de-cultura { background: #efefef; padding: 15px; } #form-cadastro-municipa-de-cultura input[type="text"] { height: 30px; } #form-cadastro-municipa-de-cultura label.title{ /*font-weight: bold;*/ margin-bottom: 15px; } .form-item { margin-bottom: 15px; } .radio-item { display: flex; } @media (max-width: 768px) { .radio-item { flex-direction: column; } } </style>]]>
10 <![CDATA[<script type="text/javascript"> window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/","svgExt":".svg","source":{"concatemoji":"http:\/\/semac.piracicaba.sp.gov.br\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.23"}}; !function(e,a,t){var n,r,o,i=a.createElement("canvas"),p=i.getContext&&i.getContext("2d");function s(e,t){var a=String.fromCharCode;p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,e),0,0);e=i.toDataURL();return p.clearRect(0,0,i.width,i.height),p.fillText(a.apply(this,t),0,0),e===i.toDataURL()}function c(e){var t=a.createElement("script");t.src=e,t.defer=t.type="text/javascript",a.getElementsByTagName("head")[0].appendChild(t)}for(o=Array("flag","emoji"),t.supports={everything:!0,everythingExceptFlag:!0},r=0;r<o.length;r++)t.supports[o[r]]=function(e){if(!p||!p.fillText)return!1;switch(p.textBaseline="top",p.font="600 32px Arial",e){case"flag":return s([55356,56826,55356,56819],[55356,56826,8203,55356,56819])?!1:!s([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]);case"emoji":return!s([55358,56760,9792,65039],[55358,56760,8203,9792,65039])}return!1}(o[r]),t.supports.everything=t.supports.everything&&t.supports[o[r]],"flag"!==o[r]&&(t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&t.supports[o[r]]);t.supports.everythingExceptFlag=t.supports.everythingExceptFlag&&!t.supports.flag,t.DOMReady=!1,t.readyCallback=function(){t.DOMReady=!0},t.supports.everything||(n=function(){t.readyCallback()},a.addEventListener?(a.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):(e.attachEvent("onload",n),a.attachEvent("onreadystatechange",function(){"complete"===a.readyState&&t.readyCallback()})),(n=t.source||{}).concatemoji?c(n.concatemoji):n.wpemoji&&n.twemoji&&(c(n.twemoji),c(n.wpemoji)))}(window,document,window._wpemojiSettings); </script>]]>
52 <![CDATA[<script data-cfasync="false"> window.a2a_config=window.a2a_config||{};a2a_config.callbacks=[];a2a_config.overlays=[];a2a_config.templates={};a2a_localize = { Share: "Compartilhar", Save: "Salvar", Subscribe: "Inscrever", Email: "Email", Bookmark: "Favoritos", ShowAll: "Mostrar tudo", ShowLess: "Mostrar menos", FindServices: "Procurar serviço(s)", FindAnyServiceToAddTo: "Encontrar rapidamente qualquer serviço para", PoweredBy: "Serviço fornecido por", ShareViaEmail: "Share via email", SubscribeViaEmail: "Subscribe via email", BookmarkInYourBrowser: "Adicionar aos favoritos", BookmarkInstructions: "Press Ctrl+D or \u2318+D to bookmark this page", AddToYourFavorites: "Adicionar a favoritos", SendFromWebOrProgram: "Send from any email address or email program", EmailProgram: "Email program", More: "More&#8230;", ThanksForSharing: "Thanks for sharing!", ThanksForFollowing: "Thanks for following!" }; (function(d,s,a,b){a=d.createElement(s);b=d.getElementsByTagName(s)[0];a.async=1;a.src="https://static.addtoany.com/menu/page.js";b.parentNode.insertBefore(a,b);})(document,"script"); </script>]]>
224 <![CDATA[<script> function enableSubmit(){ document.getElementById("submit-button").disabled = false; } function disableSubmit(){ document.getElementById("submit-button").disabled = true; } function validateSize(file) { var limit = 5; //MB var size = file.files[0].size / 1024 / 1024; // in MB if (size > limit) { alert('O tamanho do arquivo excede o limite de ' + limit + ' MB'); $(file).val(''); //for clearing with Jquery return false; } return true; } </script>]]>
359 <![CDATA[<script> (function(){ var status = jQuery( "#tipo-de-cadastro-pessoa-juridica" ).is(":checked"); jQuery( "input[name='tipo-de-cadastro-pessoa-juridica'][type='text']" ).prop('disabled',!status); jQuery( "#tipo-de-cadastro" ).on('ready change', function(){ var status = jQuery( "#tipo-de-cadastro-pessoa-juridica" ).is(":checked"); jQuery( "input[name='tipo-de-cadastro-pessoa-juridica'][type='text']" ).prop('disabled',!status); }); })(); </script>]]>
397 <![CDATA[<script> (function(){ var status = jQuery( "#tipo-de-cadastro-organizacao-informal" ).is(":checked"); jQuery( "input[name='tipo-de-cadastro-organizacao-informal'][type='text']" ).prop('disabled',!status); jQuery( "#tipo-de-cadastro" ).on('ready change', function(){ var status = jQuery( "#tipo-de-cadastro-organizacao-informal" ).is(":checked"); jQuery( "input[name='tipo-de-cadastro-organizacao-informal'][type='text']" ).prop('disabled',!status); }); })(); </script>]]>
426 <![CDATA[<script>jQuery( "input[name='tipo-de-cadastro-pessoa-juridica'][type='text']" ).mask('00.000.000/0000-00', {reverse: true});</script>]]>
517 <![CDATA[<script> (function(){ var status = jQuery( "#especificar-pessoa-juridica-outro" ).is(":checked"); jQuery( "input[name='especificar-pessoa-juridica-outro'][type='text']" ).prop('disabled',!status); jQuery( "#especificar-pessoa-juridica" ).on('ready change', function(){ var status = jQuery( "#especificar-pessoa-juridica-outro" ).is(":checked"); jQuery( "input[name='especificar-pessoa-juridica-outro'][type='text']" ).prop('disabled',!status); }); })(); </script>]]>
563 <![CDATA[<script>jQuery('#cpf').mask('000.000.000-00', {reverse: true}); </script>]]>
578 <![CDATA[<script>jQuery('#data-de-nascimento').mask('00/00/0000'); </script>]]>
584 <![CDATA[<script>jQuery('#telefone-fixo').mask('0#'); //somente número</script>]]>
591 <![CDATA[<script>jQuery('#celular').mask('0#'); //somente número</script>]]>
603 <![CDATA[<script>jQuery('#endereco-cep').mask('00000-000');</script>]]>
619 <![CDATA[<script>jQuery('#endereco-numero').mask('0#'); //somente número</script>]]>
650 <![CDATA[<script> jQuery(document).ready(function() { var cep = $("#endereco-cep").val(); if( !/^[0-9]{5}-[0-9]{3}$/.test(cep) ) { $("#endereco-logradouro").prop('disabled', true); $("#endereco-bairro").prop('disabled', true); $("#endereco-cidade").prop('disabled', true); $("#endereco-uf").prop('disabled', true); } }); jQuery("#endereco-cep").on('keyup', function() { var cep = $("#endereco-cep").val(); if(/^[0-9]{5}-[0-9]{3}$/.test(cep)) { cep = cep = cep.replace(/\D/g,''); //Preenche os campos com "..." enquanto consulta webservice. $("#endereco-logradouro").val("..."); $("#endereco-bairro").val("..."); $("#endereco-cidade").val("..."); $("#endereco-uf").val("..."); //Consulta o webservice viacep.com.br/ $.getJSON("https://viacep.com.br/ws/"+ cep +"/json/?callback=?", function(dados) { if (!("erro" in dados)) { //Atualiza os campos com os valores da consulta. $("#endereco-logradouro").val(dados.logradouro); $("#endereco-bairro").val(dados.bairro); $("#endereco-cidade").val(dados.localidade); $("#endereco-uf").val(dados.uf); $("#endereco-logradouro").prop('disabled', false); $("#endereco-bairro").prop('disabled', false); $("#endereco-cidade").prop('disabled', false); $("#endereco-uf").prop('disabled', false); } //end if. else { //CEP pesquisado não foi encontrado. //limpa_formulário_cep(); alert("CEP não encontrado."); $("#endereco-logradouro").prop('disabled', false); $("#endereco-bairro").prop('disabled', false); $("#endereco-cidade").prop('disabled', false); $("#endereco-uf").prop('disabled', false); } }); } else { $("#endereco-logradouro").prop('disabled', true); $("#endereco-bairro").prop('disabled', true); $("#endereco-cidade").prop('disabled', true); $("#endereco-uf").prop('disabled', true); } }); </script>]]>
1089 <![CDATA[<script>jQuery('#numero-de-pessoas').mask('0#'); //somente número</script>]]>
1153 <![CDATA[<script> (function(){ var status = jQuery( "#ja-foi-contemplado-municipal" ).is(":checked"); jQuery( "input[name='ja-foi-contemplado-municipal'][type='text']" ).prop('disabled',!status); jQuery( "#ja-foi-contemplado" ).on('ready change', function(){ var status = jQuery( "#ja-foi-contemplado-municipal" ).is(":checked"); jQuery( "input[name='ja-foi-contemplado-municipal'][type='text']" ).prop('disabled',!status); }); })(); </script>]]>
1191 <![CDATA[<script> (function(){ var status = jQuery( "#ja-foi-contemplado-estadual" ).is(":checked"); jQuery( "input[name='ja-foi-contemplado-estadual'][type='text']" ).prop('disabled',!status); jQuery( "#ja-foi-contemplado" ).on('ready change', function(){ var status = jQuery( "#ja-foi-contemplado-estadual" ).is(":checked"); jQuery( "input[name='ja-foi-contemplado-estadual'][type='text']" ).prop('disabled',!status); }); })(); </script>]]>
1229 <![CDATA[<script> (function(){ var status = jQuery( "#ja-foi-contemplado-federal" ).is(":checked"); jQuery( "input[name='ja-foi-contemplado-federal'][type='text']" ).prop('disabled',!status); jQuery( "#ja-foi-contemplado" ).on('ready change', function(){ var status = jQuery( "#ja-foi-contemplado-federal" ).is(":checked"); jQuery( "input[name='ja-foi-contemplado-federal'][type='text']" ).prop('disabled',!status); }); })(); </script>]]>
1267 <![CDATA[<script> (function(){ var status = jQuery( "#ja-foi-contemplado-outro" ).is(":checked"); jQuery( "input[name='ja-foi-contemplado-outro'][type='text']" ).prop('disabled',!status); jQuery( "#ja-foi-contemplado" ).on('ready change', function(){ var status = jQuery( "#ja-foi-contemplado-outro" ).is(":checked"); jQuery( "input[name='ja-foi-contemplado-outro'][type='text']" ).prop('disabled',!status); }); })(); </script>]]>
1673 <![CDATA[<script> (function(){ var status = jQuery( "#e-titular-sim" ).is(":checked"); jQuery( "input[name='e-titular-sim'][type='text']" ).prop('disabled',!status); jQuery( "#e-titular" ).on('ready change', function(){ var status = jQuery( "#e-titular-sim" ).is(":checked"); jQuery( "input[name='e-titular-sim'][type='text']" ).prop('disabled',!status); }); })(); </script>]]>
1893 <![CDATA[<script> jQuery(document).ready(function() { jQuery.post( 'https://graph.facebook.com', { id: 'http://semac.piracicaba.sp.gov.br/cadastro-municipal-de-cultura/', scrape: true }, function(response){ console.log(response); } ); var owl = jQuery(".featureds-home, .img-carousel").owlCarousel({ navigation : false, // Show next and prev buttons slideSpeed : 300, autoplayTimeout: 8000, paginationSpeed : 400, pagination: true, navigationText: false, autoPlay: true, autoWidth:true, singleItem:true // "singleItem:true" is a shortcut for: // items : 1, // itemsDesktop : false, // itemsDesktopSmall : false, // itemsTablet: false, // itemsMobile : false }).data('owlCarousel'); jQuery('.chev-left').click(function(event){ event.preventDefault(); owl.prev(); }) jQuery('.chev-right').click(function(event){ event.preventDefault(); owl.next(); }); var owl_atrativos = jQuery(".atrativos-carousel").owlCarousel({ navigation : false, // Show next and prev buttons autoplayTimeout: 8000, slideSpeed : 300, paginationSpeed : 400, pagination: true, navigationText: false, autoPlay: true, autoWidth:true, items: 3 }).data('owlCarousel'); jQuery('.atra-chev-left a').on('click', function(){ owl_atrativos.prev(); }) jQuery('.atra-chev-right a').on('click', function(){ owl_atrativos.next(); }); }); </script>]]>
1967 <![CDATA[<script> var hexDigits = new Array("0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"); function rgb2hex(rgb) { rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/); return "#" + hex(rgb[1]) + hex(rgb[2]) + hex(rgb[3]); } function hex(x) { return isNaN(x) ? "00" : hexDigits[(x - x % 16) / 16] + hexDigits[x % 16]; } jQuery(document).ready(function() { // CODIGO DO MENU jQuery('.sub-menu > li > ul').addClass('sub-menu2'); jQuery('.sub-menu2').removeClass('sub-menu'); jQuery(".sub-menu").hide(); jQuery(".sub-menu2").hide(); jQuery('.menu > li').hover(function(e){ jQuery(this).find('.sub-menu').stop().slideToggle(); }); jQuery('.sub-menu > li').hover(function(e){ jQuery(this).find('.sub-menu2').stop().slideToggle(); }); jQuery('.menu-item-has-children > a').addClass('seta-baixo'); jQuery('[data-toggle="tooltip"]').tooltip(); jQuery.getJSON( "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=UUx-TzWAkiq6CgbIhHQ-cgxQ&key=AIzaSyBtfLakdvNYIMItHDrMx889IN-iYadx9ZQ&maxResults=15", function( data ) { jQuery.each(data.items, function(index, value){ var title_item = value.snippet.title; var image_item = value.snippet.thumbnails.medium.url; var video_item = value.snippet.resourceId.videoId; var div = '<a href="https://www.youtube.com/watch?v='+video_item+'" target="_blank"><div class="videos-list"><img src="'+image_item+'" /><i class="fa fa-youtube-play"></i> '+title_item+'</div></a>'; jQuery('.videos-container').append(div); }) }).done( function(){ var owl_videos = jQuery(".videos-container").owlCarousel({ navigation : false, // Show next and prev buttons autoplayTimeout: 8000, slideSpeed : 300, paginationSpeed : 400, pagination: true, navigationText: false, autoPlay: true, autoWidth:true, items: 3 }).data('owlCarousel'); jQuery('.video-chev-left a').on('click', function(){ owl_videos.prev(); }) jQuery('.video-chev-right a').on('click', function(){ owl_videos.next(); }); }); atualiza_clima(); setInterval( function(){ atualiza_clima(); },360000) }); function atualiza_clima(){ jQuery.getJSON( "http://api.openweathermap.org/data/2.5/weather?q=Piracicaba,BR&units=metric&APPID=ca3593621abe1206f1ff3048d8202c5b", function( data ) { var temp = Math.round(data.main.temp); jQuery("#temp").html(temp); var w = data.weather; var i = w[0].icon; var title = 'Neste momento, faz '+temp+'º graus em Piracicaba.'; if((i=="01d")||(i=="01n")){ var condition = 'O céu está aberto.'; }else if((i=="02d")||(i=="02n")){ var condition = 'Céu com poucas nuvens.'; }else if((i=="03d")||(i=="03n")){ var condition = 'O tempo está nublado.'; }else if((i=="03d")||(i=="03n")){ var condition = 'O tempo está nublado.'; }else if((i=="04d")||(i=="04n")){ var condition = 'O tempo está nublado.'; }else if((i=="09d")||(i=="09n")){ var condition = 'Está chuviscando no momento.'; }else if((i=="10d")||(i=="10n")){ var condition = 'Está chovendo no momento.'; }else if((i=="11d")||(i=="11n")){ var condition = 'Está chovendo forte no momento.'; }else if((i=="50d")||(i=="50n")){ var condition = 'Sujeito a neblina.'; } var icon = 'http://semac.piracicaba.sp.gov.br/wp-content/themes/semactur/assets/img/icons/'+w[0].icon+'.png'; msg = title+' '+condition; jQuery('.temp-navbar a').prop('title',msg); jQuery('.temp-navbar a').attr('data-original-title',msg); jQuery('#weather-img').prop('src',icon); }); } jQuery( window ).scroll(function() { var scroll = $(window).scrollTop(); if(scroll > 250){ jQuery('.menu-atrativo h3').fadeIn('slow'); jQuery('.menu-atrativo').css('background','rgba(0,0,0,0.55)'); }else{ jQuery('.menu-atrativo h3').fadeOut('fast'); jQuery('.menu-atrativo').css('background','rgba(0,0,0,0)'); } }); //enable all select jQuery('select').prop( "disabled", false ); </script>]]>
2128 <![CDATA[<script> jQuery('#menu-show-button').click(function(){ var showing = false; jQuery('.menu-content').each(function(){ //if( jQuery(this).css('display') == 'none') jQuery(this).css('display', 'block'); //else jQuery(this).css('display', 'none'); showing = jQuery(this).css('display') == 'none'; jQuery(this).slideToggle(); }); if(showing) jQuery(this).find('i').attr('class', 'fa fa-arrow-circle-up'); else jQuery(this).find('i').attr('class', 'fa fa-bars'); }); </script>]]>