67
| <![CDATA[<script>
(function(h,o,t,j,a,r){
h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};
h._hjSettings={hjid:2063554,hjsv:6};
a=o.getElementsByTagName('head')[0];
r=o.createElement('script');r.async=1;
r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;
a.appendChild(r);
})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');
</script>]]>
|
372
| <![CDATA[<script>
$(document).ready(function(){
var limit = 12;
var start = 0;
var galeria = 255;
var action = 'inactive';
function load_country_data(limit, start, galeria)
{
$.ajax({
url:"galerias_interna_ajax.php",
method:"POST",
data:{limit:limit, start:start, galeria:galeria},
cache:false,
success:function(data)
{
$('#load_data').append(data);
// console.log(data)
if(data == '')
{
$('#load_data_message').html("<article class='col-12 col-md-6 col-lg-5 col-xl-4 mx-auto'><button type='button' class='btn btn-ver-padrao'>Nenhum dado para carregar <i class='fas fa-times-circle'></i></button></article>");
action = 'active';
}
else
{
$('#load_data_message').html("<article class='col-12 col-md-3 col-lg-2 mx-auto'><button type='button' class='btn btn-padrao'>Carregando <i class='fas fa-spinner'></i></button></article>");
action = "inactive";
}
}
});
}
if(action == 'inactive')
{
action = 'active';
load_country_data(limit, start ,galeria);
}
$(window).scroll(function(){
if($(window).scrollTop() + $(window).height() > $("#load_data").height() && action == 'inactive')
{
action = 'active';
start = start + limit;
setTimeout(function(){
load_country_data(limit, start, galeria);
}, 1500);
}
});
});
</script>]]>
|
931
| <![CDATA[<script type='text/javascript'>//<![CDATA[
$(document).ready(function(){
// if no cookie
if ($.cookie('cookie-lgpd')!="true") {
$("#barra-cookies-lgpd").show();
$("#aceitar-cookies-lgpd").click(function() {
$("#barra-cookies-lgpd").hide();
// set the cookie for 24 hours
var date = new Date();
date.setDate(date.getDate() + 30);
$.cookie('cookie-lgpd', "true", { expires: date });
});
}
});//]]>
</script>]]>
|