103
| <![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'),
inputAnime = $(".formulario-busca"),
body = $('body');
searchToggle.on('click', function (event) {
event.preventDefault();
if (inputAnime.hasClass('active')) {
inputAnime.addClass('active');
} else {
inputAnime.removeClass('active');
}
});
body.on('click', function () {
inputAnime.removeClass('active');
});
var elemBinds = $('.open-search, .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,
dots: false,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
}
}
});
$('#noticias-home').owlCarousel({
loop: true,
margin: 2,
nav: true,
dots: false,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 2
},
1000: {
items: 4
}
}
});
$('#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: 1
},
1000: {
items: 1
}
}
});
$('#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: true,
margin: 10,
nav: true,
dots: false,
responsiveClass: true,
autoplay: false,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
}
}
});
$('#galeria-home').owlCarousel({
loop: true,
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: 1
},
1000: {
items: 2
},
1200: {
items: 4
}
}
});
$('#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
}
}
});
$('#noticias').owlCarousel({
loop: false,
margin: 0,
nav: false,
dots: true,
responsiveClass: true,
responsive: {
0: {
items: 1
},
600: {
items: 1
},
1000: {
items: 1
}
}
});
$('.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>]]>
|