139
| <![CDATA[<script type="text/javascript">
var popOverSettings = {
container: 'body',
html: true,
selector: '.checksum-info',
trigger: 'focus'
};
$(document).ready(function($) {
"use strict";
/*-------------------------------------------------*/
/* = Search animation
/*-------------------------------------------------*/
var searchToggle = $('.open-search-link'),
inputAnime = $(".formulario-busca"),
body = $('body');
searchToggle.on('click', function(event) {
event.preventDefault();
var nomeClass = document.getElementById("formularioBuscaDesktop").className;
if (nomeClass === "formulario-busca") {
document.getElementById("formularioBuscaDesktop").className = 'formulario-busca active';
} else {
document.getElementById("formularioBuscaDesktop").className = 'formulario-busca';
}
});
body.on('click', function() {
inputAnime.removeClass('active');
});
var elemBinds = $('.open-search-link, .formulario-busca');
elemBinds.bind('click', function(e) {
e.stopPropagation();
});
$(function() {
$('[data-toggle="tooltip"]').tooltip()
});
});
$(document).ready(function() {
$('.servicos').owlCarousel({
loop: false,
margin: 20,
nav: true,
dots: false,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
}
}
});
$('#secretarias-home').owlCarousel({
loop: true,
margin: 10,
nav: true,
autoplay: true,
autoplayTimeout: 3500,
dots: false,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 3
}
}
});
$('#banner-pequeno-home').owlCarousel({
loop: true,
margin: 10,
nav: false,
autoplay: true,
autoplayTimeout: 3500,
dots: true,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
}
}
});
$('#noticias-home').owlCarousel({
loop: true,
margin: 2,
nav: true,
autoplay: true,
autoplayTimeout: 6000,
dots: false,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 2
}
}
});
$('#banner-fino-home').owlCarousel({
loop: true,
margin: 10,
nav: true,
dots: false,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 7000,
animateIn: 'fadeIn',
animateOut: 'fadeOut',
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
}
}
});
$('#home-licitacoes').owlCarousel({
loop: true,
margin: 20,
nav: true,
dots: false,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 10000,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 2
}
}
});
$('#home-obras').owlCarousel({
loop: true,
margin: 20,
nav: true,
dots: false,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 10000,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 3
}
}
});
$('#home-turismo').owlCarousel({
loop: true,
margin: 15,
nav: true,
dots: false,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 13000,
animateIn: 'fadeIn',
animateOut: 'fadeOut',
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
}
}
});
$('#videos-home').owlCarousel({
loop: false,
margin: 10,
nav: true,
dots: false,
responsiveClass: true,
autoplay: false,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 3
}
}
});
$('#galeria-home').owlCarousel({
loop: false,
margin: 10,
nav: true,
dots: false,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 7000,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 3
}
}
});
$('#eventos-home').owlCarousel({
loop: true,
margin: 10,
nav: false,
dots: true,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 7000,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
}
}
});
$('#concursos-home').owlCarousel({
loop: true,
margin: 20,
nav: true,
dots: false,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 7000,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
}
}
});
$('#galeria-imagens-noticiaview').owlCarousel({
loop: false,
margin: 10,
nav: true,
dots: false,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 7000,
responsive: {
0: {
items: 2
},
600: {
items: 2
},
1000: {
items: 4
}
}
});
$('.acessoRapido').owlCarousel({
loop: true,
margin: 10,
nav: true,
dots: false,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 6000,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 3
},
1200: {
items: 6
}
}
});
$('#veja-mais').owlCarousel({
loop: true,
margin: 5,
nav: true,
dots: false,
responsiveClass: true,
autoplay: true,
autoplayTimeout: 6000,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
},
1200: {
items: 1
}
}
});
$('#mais-noticias-home').owlCarousel({
loop: false,
margin: 7,
nav: false,
dots: true,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 3
}
}
});
$('.pagina-transparencia').owlCarousel({
loop: true,
margin: 0,
nav: true,
dots: true,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 3
},
1000: {
items: 4
}
}
});
$('body').popover(popOverSettings);
wow = new WOW({
boxClass: 'wow', // default
animateClass: 'animated', // default
offset: 0, // default
mobile: true, // default
live: true // default
});
wow.init();
});
</script>]]>
|