88
| <![CDATA[<div class="cabecalho-cima" style="background:url(https://static.fecam.net.br/thumbs/362/1388220_resize_940_283.jpg) no-repeat 50% 0;">
<div class="logo">
<a href="/">
<img src="https://cdn.fecam.net.br/images/municipios/brasao/90x90/formosadosul.png">
</a>
<br>
<h1>
<span>Município de</span>
<br>Formosa do Sul </h1>
</div>
<div id="topo-tempo">
<div class="tempo-hoje">
<span id="previsao-tempo-dia-1-icone"><img src="https://cdn.fecam.net.br/images/loading.png" /></span>
<div class="info">
<div class="dia">
<p class='titulo-previsao' id="previsao-tempo-dia-1"></p>
<p class='condicao' id="previsao-tempo-dia-1-previsao">---</p>
</div>
<ul class='temperaturas'>
<li class="min" id="previsao-tempo-dia-1-min">?</li>
<li class="max" id="previsao-tempo-dia-1-max">?</li>
</ul>
</div>
</div>
<div class="tempo-amanha">
<span id="previsao-tempo-dia-2-icone"><img src="https://cdn.fecam.net.br/images/loading.png" width="35" height="34" /></span>
<div class="info">
<div class="dia">
<p class='titulo-previsao' id="previsao-tempo-dia-2"></p>
<p class='condicao' id="previsao-tempo-dia-2-previsao">---</p>
</div>
<ul class='temperaturas'>
<li class="min" id="previsao-tempo-dia-2-min">?</li>
<li class="max" id="previsao-tempo-dia-2-max">?</li>
</ul>
</div>
</div>
<script type="text/javascript">
$(function() {
//$('#topo-tempo').hide();
console.log('https://www.fecam.org.br/tempo.php?codPrevisao=2040');
$.ajax({
url: 'https://www.fecam.org.br/tempo.php?codPrevisao=2040',
jsonpCallback: 'jsonCallback',
contentType: "application/json",
dataType: 'jsonp',
cache: 'false',
success: function(data){
data = data['tempo'];
dc = 0; //Contador de dias;
while(dc <= 1){
prefix = "#previsao-tempo-dia-"+(dc+1);
dia = data['previsao'][dc];
$(prefix).html(dia['diaSemana']);
$(prefix+'-max').html(dia['maxima']+"C");
$(prefix+"-min").html(dia['minima']+"C");
$(prefix+"-icone img").attr("src","https://cdn.fecam.net.br/styles/layouts/pm/default/images/previsao-tempo/"+dia['tempo']+".png");
$(prefix+"-previsao").html(dia['condicao']);
console.log(dia);
dc++;
}
}
});
});
</script>
</div>
<span id="ancoraMenu"><ul class="navigation">
<li>
<a class="paginaInicialPm" href="/index/index/codMapaItem/8173">Início</a>
</li>
<li>
<a class="pagina-municipio" href="/municipio/index/codMapaItem/8174">Município</a>
<ul>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/8700">História</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/12399">Bandeira</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/12400">Brasão</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/12401">Econômia</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/12402">Geografia</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/17207">Informativo</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/87863">Qualidade da Água</a>
</li>
</ul>
</li>
<li>
<a class="pagina-governo" href="/governo/index/codMapaItem/8175">Governo</a>
<ul>
<li>
<a class="estruturaOrganizacional" href="/estruturaorganizacional/index/index/codMapaItem/13205">Secretarias</a>
</li>
</ul>
</li>
<li>
<a class="pagina-transparencia" href="/transparencia/index/codMapaItem/8176">Transparência</a>
<ul>
<li>
<a class="licitacoes" href="/licitacoes/index/index/codMapaItem/11725">Licitações</a>
</li>
<li>
<a class="legislacao" href="/legislacao/index/index/codMapaItem/11730">Legislação</a>
</li>
<li>
<a class="concursos" href="/concursos/index/index/codMapaItem/11727">Concursos</a>
</li>
<li>
<a class="contasPublicas" href="/contaspublicas/index/index/codMapaItem/11728">Contas Públicas e LRF</a>
</li>
<li>
<a class="links" href="https://e-gov.betha.com.br/transparencia/recursos.faces?mun=3aLam4kfh_s=" target="_blank">Portal da Transparência</a>
</li>
<li>
<a class="links" href="http://lai.fecam.org.br/formosadosul" target="_blank">Acesso à Informação</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/107404">Prestação de Contas</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/107406">Planejamento</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/110643">Parcerias Celebradas</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/144934">COVID-19</a>
</li>
<li>
<a class="paginaBasica" href="/cms/pagina/ver/codMapaItem/146560">Auxílio Financeiro Estudantil</a>
</li>
</ul>
</li>
<li>
<a class="links" href="/noticias/listar/">Notícias</a>
</li>
<li>
<a class="links" href="//servicos.formosa.sc.gov.br">Carta de Serviços</a>
</li>
<li>
<a class="links" href="http://www.formosa.sc.gov.br/turismo/" target="_blank">Turismo</a>
</li>
<li>
<a class="contatos" href="/contatos/index/index/codMapaItem/8180">Contato</a>
</li>
</ul></span>
</ul>
</div>]]>
|
320
| <![CDATA[<p style="text-align: justify;"><span>Muita diversão e gargalhadas. Assim foi a tarde do último sábado (21), para as crianças formosenses que se reuniram no evento Natal em Família. O evento faz parte da programação do Natal Iluminado de Formosa do Sul e teve o objetivo de reunir as famílias de formosenses no espírito natalino proporcionando um momento de lazer com jogos, brinquedos e diversas atividades realizadas durante a tarde.</span></p>]]>
|
321
| <![CDATA[<p style="text-align: justify;"><span>As crianças se divertiram, juntamente com suas famílias, em brincadeiras como futebol de sabão, touro mecânico, brinquedos infláveis, pintura de rosto e diversas outras brincadeiras. ;</span></p>]]>
|
322
| <![CDATA[<p style="text-align: justify;"><span>O momento mais esperado da tarde foi a visita do Papai Noel que chegou distribuindo balas e presentes a todas as crianças além de tiram um tempinho para fazer uma foto e conversar com cada uma delas que fizeram fila ansiosas para sentar no colo do bom velhinho.</span></p>]]>
|
323
| <![CDATA[<p style="text-align: justify;">Confira mais fotos deste evento na página do facebook ;<a href="https://www.facebook.com/media/set/?set=ms.c.eJxNV0my5TAIu1EXkxnuf7GuiG~%3B5bVUMAgRONMY72j3UQk780w~_wsZYaS0sCs8B5QKidOX2BMFioEQhYhBOQivOFvsAxWDiDnrMAY5yES5JYni~%3BL6SFQsDjMkrMWDFrrUnSpgUvoBXqJBYl1wSXrAgOmPQw6ugAbNBvU~%3BoK6SCDGkQfApf0C6rAIumjCon4ABJW4gK1F0sI3xku7gzp3UC7ecIkhAKbadNlBdZDYwSiPGIH8gJi~_QOoCdMkl9ngk9NFKl3KkjSKwFvIsltjrR29QITAgFklivS7~_LA4Alq~_CFqoGAUg7Ii~_gCgu5DVKXL22dy1QNDap0Aggqw6BRsLgK~_gBkEcY4vsBlqrlZjBZpC5D69rTYUy0UJ0GLQi1erGWVLI~%3BHBACjxWCUfvfWdUA957qYQEHOLKayQBBAP7JuP8zWwmlhqCWTMdCxHnbMfLMoLbxgwfWwQIOSgrED0bnQ4jgsXto9KOkMmmiQdRJYHocuOQvcJltjs1Po0htUzrNA0Fc~_RNfDydmeizMPwDGwvE12wVEybqULtuHUnYurLFAEtha~%3BxL45fBb5gG~%3BFuocuHgBYvjtkafosZoHL1AMn~_MRdsSMormgRA1n6KAFIW~%3BIBtsCN4WeZPuoHgnmHzQ~%3BG8A6bJ4LqPGCJGYMWqGuRem8MHgPvXuC6hIBHsB~_B69DN6xAqCwgBaD047FitK0UXpgtci1J0~%3BVBBpWeBQyAXuDHKvq3Utjv9cvAIbmW5ArgPn1euBSVVYQCooMpv2Fp9h13ouvZLe1DcD~%3BUMuLy0ODkdPAYtYFpxs7RiCaUYtJcYb1CNwoXnsxNB~%3BbAfg90PowVeIC2~_QDW5FswSS4zT~%3B6CPB9~%3BbKcQ4bbRYHsxSvVmKFgaNPeGOflsZk69aSCrkWSBo8vEcwbfU9GXa0VtLktgBsftB4r1Mk0xnR2kcZe9RkhsjZCVllNTgKOm5Og0JDPtQ2oMXSPO~_QKGGLMJXfbDZ0dy5WRUa5TCy1R4OqlFL5pDYutwFCi0IxlnL9ymGoKQetdWyhXrQwjuX0O263q5~%3Be7zlsx97~_vSevpBYF8aQBI9o8tiTY~%3Bmqxb7kPY6xD3DwAQ6RldRh0PBtMnsqBZdmx~%3BANE8Ou7zeMvm~_Y3q7P0OKgOOVdL1~%3BRNdMeyJLnIsy~_cUaeIQ9bHodjqB0Di9uTE4yhA~_HmfaJDSrZjQQt0TH76saI7FN3yaPLYj7zgR17IyoFXKvbdL777oYm0Th66~%3BZDbj1BXFHcuYPimUw~%3BKAR~%3BwGvcDPmwF8xZov~%3BqaX32hfjYoRdfrwker92mUoEUMstwlDJmNMZwtOqBZwkFtcXw9et8X4d6a5~%3BaDFvih0eQobU~_wByfXs5Njk3e2h8~%3BJdKwK2eSVlFBSFjv9~_5EXhmdN3UksVmM~_BDatc5Qry3yy3J2zfgAO9xzOZWVplOV~_XKm9fuCv4JPRBQYt5D9h7NdW8GvrA~_BCHr43~_VDJLps26j9MqA5T.bps.a.1493829260792628&type=1&__xts__[0]=68.ARD3EuatPA9bUZFfRrTEUDKF1AbCjFcc4sGv-9KZOQWKldju3fpyKred-V20u8-NWYQ2HkqECATRgku5QnQWPRN2AKGn6lVlxWnli2b0s51fQp9ng6BVk4VH8n58N370ucPdRp0X4PaA4w33hetdbOm6IT5PvTfx02w5VXvL3J7eJRklVHlmkk0aX2F5xVHHXvIy8_Ho4XnmcvboaNE6ZQoGK2BcexSLKWLYvWfKt2UX1YWAm_qrW9j31mwTCY9r0y020n8-T5je4DTT6geE1Pw8IvJyBOGuw3t2LmmfzwDLJTArVT-dYAguWgbh6EVcn53cFd-uQynNoRaUrws7UvAOBfkl7KNctMXyYFvKlSZl84y0i4C4lhcGNaukmOkXUFsWZTPm59VvVoCXPMHyR3Rn_-lmobQF5D4RqLRHvxaSRGG079IoYCpIFtkDQTV9CSAa0MI1lLb4reEpSsb6&__tn__=HH-R" target="_blank">Formosa do Sul - Cultura em Movimento</a>.</p>]]>
|
324
| <![CDATA[<p style="text-align: justify;"> ;</p>]]>
|
325
| <![CDATA[<p style="text-align: justify;"> ;</p>]]>
|
36
| <![CDATA[<style>
.loading-site:after {
background-image: url("https://cdn.fecam.net.br/images/municipios/brasao/90x90/formosadosul.png");
background-position: center;
background-repeat: no-repeat;
}
</style>]]>
|
43
| <![CDATA[<style>
.header {
background-image: url("https://static.fecam.net.br/thumbs/362/1388226_resize_2000_859.JPG");
}
.img-footer {
background-image: url("https://static.fecam.net.br/thumbs/362/1388227_resize_2000_45.jpg");
}
</style>]]>
|
65
| <![CDATA[<script type="text/javascript">
var contraste = 'ativar';
const __URL__ = "//formosa.sc.gov.br/";
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>]]>
|
129
| <![CDATA[<script type="text/javascript">
$(function() {
//$('#topo-tempo').hide();
console.log('https://www.fecam.org.br/tempo.php?codPrevisao=2040');
$.ajax({
url: 'https://www.fecam.org.br/tempo.php?codPrevisao=2040',
jsonpCallback: 'jsonCallback',
contentType: "application/json",
dataType: 'jsonp',
cache: 'false',
success: function(data){
data = data['tempo'];
dc = 0; //Contador de dias;
while(dc <= 1){
prefix = "#previsao-tempo-dia-"+(dc+1);
dia = data['previsao'][dc];
$(prefix).html(dia['diaSemana']);
$(prefix+'-max').html(dia['maxima']+"C");
$(prefix+"-min").html(dia['minima']+"C");
$(prefix+"-icone img").attr("src","https://cdn.fecam.net.br/styles/layouts/pm/default/images/previsao-tempo/"+dia['tempo']+".png");
$(prefix+"-previsao").html(dia['condicao']);
console.log(dia);
dc++;
}
}
});
});
</script>]]>
|
274
| <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
|
501
| <![CDATA[<script type="text/javascript">
var imagemApliada = Vue.component('imagem-ampliada', {
template: '\
<img v-bind:src="imagem.ampliada" class="vue-modal-gallery-keep-open" v-if="visible">\
<img v-bind:src="imagem.ampliadaMobile" v-else class="vue-modal-gallery-keep-open" v-if="visible">\
',
props: ['imagem', 'visible'],
computed: {
imagemAmpliada: function () {
if (typeof window.orientation !== 'undefined' || window.innerWidth < 700) {
return false;
}
return true;
},
},
data: function () {
return {
};
},
});
var videoApliado = Vue.component('video-ampliado', {
template: '\
<iframe class="videos-youtube vue-modal-gallery-keep-open" width="100%"\
height="100%"\
frameborder="0"\
allowfullscreen\
v-bind:src="video.urlEmbed + \'?enablejsapi=1\'"></iframe>\
',
props: ['video'],
data: function () {
return {
};
},
});
var vueGaleriaModal = new Vue({
el: '#galeriaVue_modal',
data: {
state: "closed",
index: 0,
selector: 0,
galeriaVideos: [],
galeriaImagens: [
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817400.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817400_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817400_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817400_resize_500_500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817401.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817401_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817401_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817401_resize_500_500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817402.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817402_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817402_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817402_resize_500_500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817403.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817403_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817403_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817403_resize_500_500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817404.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817404_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817404_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817404_resize_500_500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817405.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817405_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817405_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817405_resize_500_500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817406.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817406_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817406_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817406_resize_500_500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817407.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817407_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817407_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817407_resize_500_500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817408.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817408_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817408_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817408_resize_500_500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817409.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817409_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817409_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817409_resize_500_500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817410.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817410_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817410_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817410_resize_500_500.jpg"
}
],
galeriaMultimidia: [],
thumbsVisiveis: 7
},
computed: {
totalMidias: function(){
return this.galeriaVideos.length + this.galeriaImagens.length;
},
showPrevSelector: function(){
thumbsVisiveis = this.thumbsVisiveis;
if (this.selector === 0) {
return false;
}
return (this.totalMidias > thumbsVisiveis) ? true : false;
},
showNextSelector: function(){
thumbsVisiveis = this.thumbsVisiveis;
if((this.totalMidias - this.selector - thumbsVisiveis) <= 0){
return false;
}
return (this.totalMidias > thumbsVisiveis) ? true : false;
},
hasSelectors: function() {
return this.totalMidias > 7;
}
},
created: function () {
var vue = this;
window.addEventListener('keydown', function (event) {
vue.monitorarTeclado(event);
vue.resizeSelector();
});
},
methods: {
getBackgroundSrc: function(src){
if(this.state !== "closed") {
return 'url('+src+')';
} else {
return null;
}
},
ampliarImagem: function (index) {
var _self = this;
window.setTimeout(function(){
_self.state = "opened";
},500);
this.trocarImagem(index);
$('#galeriaVue_modal').fadeIn();
},
pausarVideos: function () {
$('.videos-youtube').each(function () {
this.contentWindow.postMessage('{"event":"command","func":"' + 'stopVideo' + '","args":""}', '*');
});
},
fecharGaleria: function () {
if (this.state == "opened") {
this.pausarVideos();
this.state = "closed";
$('#galeriaVue_modal').fadeOut();
}
},
prev: function () {
index = this.index;
if (index > 0) {
index--;
this.trocarImagem(index);
}
else {
index = this.numItens() - 1;
this.trocarImagem(index);
}
},
next: function () {
index = this.index;
if (index < this.numItens() - 1) {
index++;
this.trocarImagem(index);
}
else {
this.trocarImagem(0);
}
},
prevSelector: function () {
if (this.selector > 0) {
this.selector--;
this.ajustarSelector();
}
},
nextSelector: function () {
this.selector++;
this.ajustarSelector();
},
ajustarSelector: function () {
if(this.hasSelectors){
var liWidth = $('#galeriaVue_modal .selector .sliderSelector .list-selector li').outerWidth(true);
var marginAdjuste = -(liWidth * this.selector);
var sliderSelector = $('#galeriaVue_modal .selector .sliderSelector').width();
var listSelector = $('#galeriaVue_modal .sliderSelector .list-selector').width();
var consult = listSelector + marginAdjuste + liWidth;
if (consult > sliderSelector) {
$('#galeriaVue_modal .selector .sliderSelector .list-selector').css('margin-left', marginAdjuste);
}
else {
this.prevSelector();
}
}
},
trocarImagem: function (index = 0) {
this.pausarVideos();
this.index = index;
var li = $('#galeriaVue_modal .list-ampliadas li:eq(' + index + ')');
$('#galeriaVue_modal .list-ampliadas li').hide();
li.fadeIn();
li.css('display', 'flex');
$('#galeriaVue_modal .head .legenda').hide();
$('#galeriaVue_modal .head .legenda:eq(' + index + ')').fadeIn();
var thumbsVisiveis = this.thumbsVisiveis;
var metadeThumbsVisiveis = Math.floor(thumbsVisiveis/2);
var selector = index - metadeThumbsVisiveis;
if (selector > 0) {
this.selector = selector;
this.ajustarSelector();
} else {
this.selector = 0;
this.ajustarSelector();
}
if (li.hasClass('video-vue')) {
var video = this.galeriaVideos[index];
$('#galeriaVue_modal .download').hide();
}
else {
index -= this.galeriaVideos.length;
if(index < this.galeriaImagens.length) {
var imagem = this.galeriaImagens[index];
$('#galeriaVue_modal .download').show();
$('#galeriaVue_modal .download a').attr('href', imagem.original);
}
else {
index -= this.galeriaImagens.length;
var imagem = this.galeriaMultimidia[index];
if(imagem.tipo == 'imagem') {
$('#galeriaVue_modal .download').show();
$('#galeriaVue_modal .download a').attr('href', imagem.original);
} else {
$('#galeriaVue_modal .download').hide();
}
}
}
},
ampliarSelector: function () {
$('#galeriaVue_modal .selector').addClass('ampliado');
this.resizeSelector();
},
reduzirSelector: function () {
$('#galeriaVue_modal .selector').removeClass('ampliado');
this.resizeSelector();
},
resizeSelector: function () {
var liWidth = $('#galeriaVue_modal .selector .sliderSelector .list-selector li').outerWidth(true);
$('#galeriaVue_modal .selector .sliderSelector .list-selector').width(liWidth * $('.selector .sliderSelector .list-selector li').length);
var thumbsVisiveis = Math.floor($('#galeriaVue_modal .selector .sliderSelector').width() / liWidth);
this.thumbsVisiveis = thumbsVisiveis;
this.ajustarSelector();
},
monitorarTeclado: function (event) {
if (event.keyCode == 27)
this.fecharGaleria();
else if (event.keyCode == 37)
this.prev();
else if (event.keyCode == 38)
this.ampliarSelector();
else if (event.keyCode == 39)
this.next();
else if (event.keyCode == 40)
this.reduzirSelector();
},
numItens: function () {
return this.galeriaImagens.length +
this.galeriaMultimidia.length +
this.galeriaVideos.length;
},
isActive: function(index){
return (this.index == index);
}
},
watch: {
state: function(){
this.resizeSelector();
}
}
});
jQuery(function ($) {
vueGaleriaModal.resizeSelector();
$(window).on("click", function (event) {
if ($(event.target).data('close-modal') == true) {
vueGaleriaModal.fecharGaleria();
}
if (!$(event.target).hasClass("vue-modal-gallery-keep-open")) {
if ($(event.target).parents(".vue-modal-gallery-keep-open").size() === 0) {
vueGaleriaModal.fecharGaleria();
}
}
});
});
</script>]]>
|
872
| <![CDATA[<script type="text/javascript">
var vueGaleria = new Vue({
el: '#galeriaVue',
data: {
index: 0,
galeriaVideos: [],
galeriaImagens: [
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817400.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817400_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817400_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817400_resample_fixo_200_200.jpg",
"principal": true,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817400_resize_1500_1500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817401.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817401_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817401_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817401_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817401_resize_1500_1500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817402.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817402_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817402_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817402_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817402_resize_1500_1500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817403.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817403_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817403_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817403_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817403_resize_1500_1500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817404.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817404_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817404_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817404_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817404_resize_1500_1500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817405.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817405_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817405_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817405_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817405_resize_1500_1500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817406.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817406_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817406_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817406_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817406_resize_1500_1500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817407.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817407_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817407_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817407_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817407_resize_1500_1500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817408.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817408_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817408_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817408_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817408_resize_1500_1500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817409.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817409_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817409_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817409_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817409_resize_1500_1500.jpg"
},
{
"creditos": "",
"legenda": "",
"original": "\/uploads\/362\/imagens\/2817410.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817410_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817410_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817410_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/362\/2817410_resize_1500_1500.jpg"
}
],
galeriaMultimidia: [],
modal: vueGaleriaModal
},
created: function () {
let numItens = this.galeriaImagens.length +
this.galeriaMultimidia.length +
this.galeriaVideos.length;
let classGaleria = 'num-imagens-veja-mais';
if(numItens <= 12) {
classGaleria = 'num-imagens-' + numItens;
}
$('#galeriaVue .list-thumbs').addClass(classGaleria);
},
methods: {
abrirModal: function (index) {
this.modal.ampliarImagem(index);
},
}
});
</script>]]>
|
1162
| <![CDATA[<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20438656-47']);
_gaq.push(['_trackPageview'], '/noticias/ver/2019/12/realizado-o-natal-em-familia');
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
jQuery(document).ajaxComplete(function(e, xhr, settings){
_gaq.push(['_trackPageview', settings.url]);
});
</script>]]>
|
0
| Não há código fonte a ser exibido.
|