65
| <![CDATA[<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window,document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '470486017036059');
fbq('track', 'PageView');
fbq('track', 'ViewContent');
fbq('track', 'Search');
fbq('track', 'Lead');
</script>]]>
|
99
| <![CDATA[<script>
// teste();
// function teste(){
// $.post("/service/", "daoName=DAO/front/artigosDAO&serviceName=listarArtigosNoticiasBanner", function( result ){
// var obj = JSON.parse(result);
// if ( obj.success ){
// if( obj.elements.length > 0 ){
// for(var i = 0; i < obj.elements.length; i++){
// loading.obj.messages.push(obj.elements[i].titulo)
// }
// }
// }
// });
// }
</script>]]>
|
396
| <![CDATA[<script type="text/javascript">
$(window).on('resize', function(){
if (window.screen.width < 1024) {
$('.dropdown-menu[aria-labelledby=menuSecretarias] .list-inline').css('height', parseInt( $(".listaMenuTop li").height() * 2.2 ) + 'px');
}else{
$('.dropdown-menu[aria-labelledby=menuSecretarias] .list-inline').css('height', '');
}
});
$('.dropdown').on('shown.bs.dropdown', function () {
if (window.screen.width < 1024) {
$('.dropdown-menu[aria-labelledby=menuSecretarias] .list-inline').css('height', parseInt( $(".listaMenuTop li").height() * 2.2 ) + 'px');
}else{
$('.dropdown-menu[aria-labelledby=menuSecretarias] .list-inline').css('height', '');
}
});
$(document).on('click', '.dropdown-menu[aria-labelledby=menuSecretarias]', function (e) {
e.stopPropagation();
});
$("form").on('submit', function(e){
e.preventDefault();
})
$(".controlMenuTop-left").on("click" ,function(){
var scrolled = $(".listaMenuTop").scrollLeft();
var scrollWidth = document.getElementsByClassName("listaMenuTop")[0].scrollWidth;
if (scrolled>0) {
scrolled = scrolled - parseInt($(".listaMenuTop").parent().width());
$(".listaMenuTop").animate({
scrollLeft: scrolled
});
}
});
$(".controlMenuTop-right").on("click" ,function(){
var scrolled = $(".listaMenuTop").scrollLeft();
var scrollWidth = document.getElementsByClassName("listaMenuTop")[0].scrollWidth;
if (scrolled < scrollWidth){
scrolled = scrolled + parseInt($(".listaMenuTop").parent().width());
$(".listaMenuTop").animate({
scrollLeft: scrolled
});
}
});
function pesquisarSite(){
var campoPesquisa = $("#campoPesquisaHome").val();
var pagina = 0;
var Artigo_tipo = 'noticia';
// if(campoPesquisa != ''){
window.location.href = "/pesquisa/?id=pesquisa-site&campoPesquisa=" + campoPesquisa + "&pagina=" + pagina + "&Artigo_tipo=" + Artigo_tipo;
//
}
</script>]]>
|
1363
| <![CDATA[<script type="text/javascript">
$(document).ready(function () {
exibirItem('procon');
});
function exibirItem(pag) {
$(".conteudoServicos").each(function() {
$(this).addClass('d-none');
});
$('.servicos-' + pag).removeClass('d-none');
}
$('#acessados').click(function(){
var a=$('#listaAcessados').find('a');
if($(a[0]).hasClass("d-none d-sm-block")){
$('#listaAcessados a').each(function(){
$(this).removeClass("d-none d-sm-block");
})
}else{
$('#listaAcessados a').each(function(){
$(this).addClass("d-none d-sm-block");
})
}
})
$('#listaAcessados a').click(function(){
$('#acessados').trigger('click')
})
</script>]]>
|
1486
| <![CDATA[<script>
$("a[href='#containerTop']").click(function() {
$("html, body").animate({ scrollTop: 0 }, "slow");
return false;
});
</script>]]>
|
1496
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-65961076-1');
</script>]]>
|