199
| <![CDATA[<img id="img-logo-mobile" src="images/brasao_mobile.png" style="border-radius: 8px" width="70" height="65" alt="Logo daPrefeitura de Nova Ubiratã - MT">]]>
|
68
| <![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:2063551,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>]]>
|
474
| <![CDATA[<script type="text/javascript">
function reloadPagina(pesquisa, reloadData, paginacao){
var ajaxLoadTimeout;
$.ajax({
type: "POST",
url: "noticias_ajax.php",
data: {
input_pesquisa: pesquisa,
paginacao: paginacao,
acesso: 'https://www.novaubirata.mt.gov.br/Imprensa/Noticias/',
tipo: '1'
},
beforeSend: function(xhr){
ajaxLoadTimeout = setTimeout(function() {
$('.btn-pesquisar i').removeClass();
$('.btn-pesquisar i').addClass('fa fa-circle-o-notch fa-spin fa-fw');
}, 150);
}
}).done(function(data){
clearTimeout(ajaxLoadTimeout);
$('.btn-pesquisar i').removeClass();
$('.btn-pesquisar i').addClass('fa fa-search');
$(reloadData).html(data);
$('html').scrollTop(0);
});
}
/* Keyup function */
$('input[name="input_filter"]').on('keyup',function(){
var value = $(this).val().toLowerCase();
if (value.length >= 3) {
reloadPagina(value, '#reloadPagina', 1);
}else{
reloadPagina('', '#reloadPagina', 1);
}
});
</script>]]>
|
683
| <![CDATA[<script type="text/javascript">
/* Click function */
var filtro = $('input[name="input_filter"]').val().toLowerCase();
var paginaAtual = $('.col-box-pagination li.active a').data('page');
$('.first-page').on('click', function(){
var paginaAnterior = 1;
if(paginaAnterior <= 0) {
return false;
}else{
reloadPagina(filtro, '#reloadPagina', paginaAnterior);
}
});
$('.last-page').on('click', function(){
var totalPaginas = $(this).data('totalpages');
var proximaPagina = totalPaginas;
if(proximaPagina > totalPaginas) {
return false;
}else{
reloadPagina(filtro, '#reloadPagina', proximaPagina);
}
});
$('.page').on('click', function(){
var pagina = $(this).data('page');
reloadPagina(filtro, '#reloadPagina', pagina);
});
</script>]]>
|
1312
| <![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>]]>
|