4
| <![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', '196611004731005');
fbq('track', 'PageView');
</script>]]>
|
23
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-156820180-1');
</script>]]>
|
44
| <![CDATA[<script>
var is_front_page = '0';
$(document).ready(function(){
resizeContentArea();
showContactAlert();
var left_pos = ($(window).width() - 980)/2;
$(window).on('scroll', function() {
if(is_front_page == 1) return false;
var scroll_pos = $(window).scrollTop(),
content_height = $('section .left-bar').height();
if (scroll_pos > 150) {
$('.menu-second,.menu-third,.menu-line,.menu-level-1-scroll,.menu-level-2-scroll').attr('style','left:'+left_pos+'px;');
$('.menu-level-1-scroll,.menu-level-2-scroll').css('display','block');
} else {
$('.menu-second,.menu-third,.menu-line,.menu-level-1-scroll,.menu-level-2-scroll').attr('style','');
$('.menu-level-1-scroll,.menu-level-2-scroll').css('display','none');
}
});
});
//===== $(window).resize ==========================
$(window).resize(function() {
resizeContentArea();
});
//=================================================
//===== resizeContentArea =========================
resizeContentArea = function() {
var content_height = $(document).height() - $('header').height() - $('footer').height() - $('section .left-bar').height();
var content_height_new = $(document).height() - $('header').height() - $('footer').height() - 85;
/*if(content_height > 0) {
$('section .left-bar').height(content_height_new);
}*/
}
//===== showContactAlert =========================
showContactAlert = function() {
$("select[name=your-subject]").change(function() {
var obj = $(this);
var default_message = 'Preencha os campos abaixo para entrar em contato.';
var spam_message = 'A EAV Parque Lage respeita a sua privacidade e é contra o spam na rede. Para garantir que nossas mensagens cheguem sempre à sua caixa de entrada e com as imagens exibidas, adicione o remetente eav@eavparquelage.rj.gov.br ao seu catálogo de contatos e/ou marque-o como confiável.';
var tag_show = $('.content span.txtNovo');
if(obj.val().indexOf("Cadastro") != -1) {
tag_show.html(default_message+'<br/>'+spam_message);
} else {
tag_show.html(default_message);
}
});
}
</script>]]>
|
308
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-118252430-1');
</script>]]>
|