39
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"5073b2e2784739596087281e073a0848","system.paths":{"root":"","base":""},"joomla.jtext":{"TPL_BEEZ3_ALTOPEN":"TPL_BEEZ3_ALTOPEN","TPL_BEEZ3_ALTCLOSE":"TPL_BEEZ3_ALTCLOSE","TPL_BEEZ3_TEXTRIGHTOPEN":"TPL_BEEZ3_TEXTRIGHTOPEN","TPL_BEEZ3_TEXTRIGHTCLOSE":"TPL_BEEZ3_TEXTRIGHTCLOSE","TPL_BEEZ3_FONTSIZE":"TPL_BEEZ3_FONTSIZE","TPL_BEEZ3_BIGGER":"TPL_BEEZ3_BIGGER","TPL_BEEZ3_RESET":"TPL_BEEZ3_RESET","TPL_BEEZ3_SMALLER":"TPL_BEEZ3_SMALLER","TPL_BEEZ3_INCREASE_SIZE":"TPL_BEEZ3_INCREASE_SIZE","TPL_BEEZ3_REVERT_STYLES_TO_DEFAULT":"TPL_BEEZ3_REVERT_STYLES_TO_DEFAULT","TPL_BEEZ3_DECREASE_SIZE":"TPL_BEEZ3_DECREASE_SIZE","TPL_BEEZ3_OPENMENU":"TPL_BEEZ3_OPENMENU","TPL_BEEZ3_CLOSEMENU":"TPL_BEEZ3_CLOSEMENU"}}</script>]]>
|
317
| <![CDATA[<script type="text/javascript">
$('.multi-item-carousel .item').each(function() {
var next = $(this).next();
if (!next.length) next = $(this).siblings(':first');
next.children(':first-child').clone().appendTo($(this));
});
$('.multi-item-carousel .item').each(function() {
var prev = $(this).prev();
if (!prev.length) prev = $(this).siblings(':last');
prev.children(':nth-last-child(2)').clone().prependTo($(this));
});
// $('#ca-container').contentcarousel();
// Agenda
$(document).ready(function() {
var $ = jQuery;
$("#mesAgenda").change(function() {
var opcao = $("#mesAgenda").val();
if (opcao == 0)
return false;
$.ajax({
cache: false,
type: 'post',
dataType: 'text',
url: 'http://fgm.salvador.ba.gov.br/pagination.php',
data: {
opcao: opcao
},
beforeSend: function() {
},
success: function(data) {
$('#ca-container').html(data);
$('#ca-container').contentcarousel();
},
error: function() {
alert('Falha na Paginacao');
}
});
});
}); // document ready
(function($) {
"use strict";
$(document).ready(function() {
window.sr = ScrollReveal();
// sr.reveal('.intro');
sr.reveal('.citacao-greg', {
duration: 1000,
delay: 500,
reset: false,
scale: 0
});
sr.reveal('h1:not(.h1), h2', {
duration: 700,
delay: 300,
reset: false
});
sr.reveal('.text-right', {
duration: 700,
delay: 300,
reset: false
});
sr.reveal('.logo', {
duration: 800,
// delay: 200,
reset: false,
// scale: 1500,
origin: 'left'
});
sr.reveal('.top .row div:last-child', {
duration: 600,
delay: 200,
reset: false,
// scale: 1500,
origin: 'right'
});
sr.reveal('.intro h1', {
duration: 0,
delay: 0,
reset: false
});
sr.reveal('.porque-participar p', {
duration: 700,
delay: 600,
reset: false,
origin: 'bottom'
});
sr.reveal('.porque-participar button', {
duration: 700,
delay: 800,
reset: false
});
sr.reveal('.como-participar .row > div', {
duration: 900,
delay: 700,
reset: false
});
sr.reveal('.noticias .azul', {
duration: 1200,
delay: 400,
reset: false,
scale: 0
});
sr.reveal('.noticias .vermelho', {
duration: 1200,
delay: 550,
reset: false,
scale: 0
});
sr.reveal('.noticias .verdec', {
duration: 1200,
delay: 650,
reset: false,
scale: 0
});
sr.reveal('.noticias .laranja', {
duration: 1200,
delay: 750,
reset: false,
scale: 0
});
sr.reveal('.logos img', {
duration: 800,
delay: 900,
reset: false,
scale: 2.5
});
$(window).scroll(function() {
$('.img-parallax').each(function() {
if ($(this).offset().top < $(window).scrollTop()) {
var difference = $(window).scrollTop() - $(this).offset().top;
var half = (difference / 2) * 1.5 + 'px';
$(this).css('top', half);
} else {
$(this).css('top', '0');
}
});
});
});
})(jQuery);
</script>]]>
|
518
| <![CDATA[<script>
$("#menu_topo").css('background-color','#062959');
//$("#menu_topo").css('visibility','hidden');
//$("#menu_topo").attr('class','banner2');
(function($) {
$.fn.menumaker = function(options) {
var cssmenu = $(this), settings = $.extend({
format: "dropdown",
sticky: false
}, options);
return this.each(function() {
$(this).find(".button").on('click', function(){
$(this).toggleClass('menu-opened');
var mainmenu = $(this).next('ul');
if (mainmenu.hasClass('open')) {
mainmenu.slideToggle().removeClass('open');
}
else {
mainmenu.slideToggle().addClass('open');
if (settings.format === "dropdown") {
mainmenu.find('ul').show();
}
}
});
cssmenu.find('li ul').parent().addClass('has-sub');
multiTg = function() {
cssmenu.find(".has-sub").prepend('<span class="submenu-button"></span>');
cssmenu.find('.submenu-button').on('click', function() {
$(this).toggleClass('submenu-opened');
if ($(this).siblings('ul').hasClass('open')) {
$(this).siblings('ul').removeClass('open').slideToggle();
}
else {
$(this).siblings('ul').addClass('open').slideToggle();
}
});
};
if (settings.format === 'multitoggle') multiTg();
else cssmenu.addClass('dropdown');
if (settings.sticky === true) cssmenu.css('position', 'fixed');
resizeFix = function() {
var mediasize = 700;
if ($( window ).width() > mediasize) {
cssmenu.find('ul').show();
}
if ($(window).width() <= mediasize) {
cssmenu.find('ul').hide().removeClass('open');
}
};
resizeFix();
return $(window).on('resize', resizeFix);
});
};
})(jQuery);
(function($){
$(document).ready(function(){
$("#cssmenu").menumaker({
format: "multitoggle"
});
});
})(jQuery);
</script>]]>
|