308
| <![CDATA[<style type="text/css">
.servico-subitem .galeria h3
{
display: none;
}
</style>]]>
|
15
| <![CDATA[<script type="text/javascript">
const __URL__ = "/servicos/";
var pesquisaCampo = '0';
var emitirPesquisa = false;
var contrasteAtivo = true; </script>]]>
|
51
| <![CDATA[<script type="text/javascript">
var contraste = 'ativar';
const url = __URL__ + "zbox/contraste/index/";
$("#pluginContrasteIsAtivo").click(function(){
let dataPost = {
contraste: contraste,
};
let xhr = $.ajax({
url: url,
method: "POST",
data: dataPost,
dataType: "json"
});
xhr.complete(function () {
location.reload();
});
});
</script>]]>
|
173
| <![CDATA[<script>
$(document).ready(function(){
function toogleMenuMobile() {
$("#menu-mobile").toggleClass('open');
}
$("#open-menu").click(function(){
toogleMenuMobile();
});
$("#pesquisar-mobile").click(function(){
window.location.href = '/servicos/index/listagem' + "/pesquisa/" + $("#input-mobile").val();
});
$("#publico-alvo-menu").click(function(){
toogleMenuLista('#publico-alvo-lista');
});
$("#categorias-menu").click(function(){
toogleMenuLista('#categorias-lista');
});
$("#emergencia-menu").click(function(){
toogleMenuLista('#emergencia-lista');
});
$("#municipal-menu").click(function(){
toogleMenuLista('#municipal-lista');
});
function toogleMenuLista(codigo) {
$(codigo).toggleClass('open');
}
});
</script>]]>
|
399
| <![CDATA[<script type="text/javascript">
$('#exibe-categoria').click(function(){
$('.bloco-categorias').toggleClass('exibir-bloco');
});
var autoHeight = $("#servico-descricao").css('height', 'auto').height();
if (autoHeight > 300) {
$("#servico-descricao").animate({height:'300px'});
$("#servico-descricao").removeClass('exibir');
$('#ver-mais').click(function(){
if ( $("#servico-descricao").hasClass('exibir') ) {
$("#servico-descricao").animate({height:'300px'});
$("#servico-descricao").removeClass('exibir');
$("#ver-mais").text('Ver mais');
} else {
$("#servico-descricao").animate({height: autoHeight+'px'});
$("#servico-descricao").addClass('exibir');
$("#ver-mais").text('Ocultar');
}
});
} else {
$("#servico-descricao").animate({height: autoHeight+'px'});
$("#servico-descricao").addClass('exibir');
$("#servico-descricao:after").hide();
$("#ver-mais").hide();
}
jQuery(function($)
{
$('dd.mapa > a').click(function(){
var ddMapa = $(this).parent();
$(ddMapa).children('.mapaServico').toggle();
return false;
});
$('dd.mapa > .mapaServico').hide();
$('.aviso .fechar-alerta').click(function(){
$(this).parents('.aviso').fadeOut();
return false;
});
});
</script>]]>
|
480
| <![CDATA[<script>
var servico = 188;
</script>]]>
|
570
| <![CDATA[<script>
let scrollpos = window.scrollY
const header = document.querySelector("header")
const main = document.querySelector("main")
const header_height = header.offsetHeight - 30
const add_class_on_scroll = () => header.classList.add("fixo")
const remove_class_on_scroll = () => header.classList.remove("fixo")
const remove_class_cs_scroll = () => header.classList.remove("cs-pm")
const add_class_cs_scroll = () => header.classList.add("cs-pm")
const remove_class_margem_scroll = () => main.classList.remove("margemMenu")
const add_class_margem_scroll = () => main.classList.add("margemMenu")
window.addEventListener('scroll', function() {
scrollpos = window.scrollY;
if (scrollpos >= header_height) { add_class_on_scroll(); remove_class_cs_scroll(); add_class_margem_scroll() }
else { remove_class_on_scroll() ; add_class_cs_scroll(); remove_class_margem_scroll() }
})
</script>]]>
|
595
| <![CDATA[<script type="text/javascript">
//<![CDATA[
PUBLIC_CDN_URL = 'https://cdn.fecam.net.br' //]]>
</script>]]>
|
0
| Não há código fonte a ser exibido.
|