175
| <![CDATA[<a href="#ancoraConteudo" accesskey="1" style="color:#fff;">Ir para conteúdo <span>1</span></a>]]>
|
176
| <![CDATA[<a href="#ancoraMenu" accesskey="2" style="color:#fff;">Ir para menu <span>2</span></a>]]>
|
177
| <![CDATA[<a href="#q" style="color:#fff;">Ir para busca <span>3</span></a>]]>
|
178
| <![CDATA[<a href="#ancoraRodape" accesskey="4" style="color:#fff;">Ir para rodapé <span>4</span></a>]]>
|
182
| <![CDATA[<a href="/zbox/acessibilidade" accesskey="5" style="color:#fff;">Acessibilidade <span>5</span></a>]]>
|
183
| <![CDATA[<a id="pluginContrasteIsAtivo" accesskey="6" style="color:#fff;">Alto contraste <span>6</span></a>]]>
|
33
| <![CDATA[<style>
.imagemCabecalho {
background-image: url("/uploads/8/imagens/2542945.jpg");
}
</style>]]>
|
61
| <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
|
165
| <![CDATA[<script>
// Customização do texto do button
$('.input-botao span span').html( 'buscar');
</script>]]>
|
184
| <![CDATA[<script type="text/javascript">
var contraste = 'ativar';
const __URL__ = "//camaracanelinha.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>]]>
|
443
| <![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": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561382.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561382_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561382_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561382_resize_500_500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561384.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561384_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561384_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561384_resize_500_500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561386.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561386_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561386_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561386_resize_500_500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561387.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561387_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561387_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561387_resize_500_500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561404.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561404_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561404_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561404_resize_500_500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561389.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561389_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561389_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561389_resize_500_500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561391.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561391_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561391_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561391_resize_500_500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561393.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561393_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561393_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561393_resize_500_500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561395.jpg",
"thumb": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561395_resample_fixo_130_130.jpg",
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561395_resize_1500_1500.jpg",
"ampliadaMobile": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561395_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>]]>
|
798
| <![CDATA[<script type="text/javascript">
var vueGaleria = new Vue({
el: '#galeriaVue',
data: {
index: 0,
galeriaVideos: [],
galeriaImagens: [
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561382.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561382_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561382_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561382_resample_fixo_200_200.jpg",
"principal": true,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561382_resize_1500_1500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561384.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561384_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561384_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561384_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561384_resize_1500_1500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561386.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561386_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561386_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561386_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561386_resize_1500_1500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561387.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561387_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561387_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561387_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561387_resize_1500_1500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561404.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561404_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561404_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561404_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561404_resize_1500_1500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561389.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561389_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561389_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561389_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561389_resize_1500_1500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561391.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561391_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561391_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561391_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561391_resize_1500_1500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561393.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561393_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561393_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561393_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561393_resize_1500_1500.jpg"
},
{
"creditos": "Fabio Marcelo",
"legenda": "",
"original": "\/uploads\/604\/imagens\/1561395.jpg",
"thumb1": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561395_resample_600_600.jpg",
"thumb2": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561395_resample_fixo_500_500.jpg",
"thumb3": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561395_resample_fixo_200_200.jpg",
"principal": false,
"ampliada": "https:\/\/static.fecam.net.br\/thumbs\/604\/1561395_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>]]>
|
1085
| <![CDATA[<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27725264-31']);
_gaq.push(['_trackPageview'], '/noticias/ver/2017/01/prefeito-e-vice-secretarios-e-vereadores-tomam-posse');
(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.
|