33
| <![CDATA[<script type="text/javascript">
$(document).ready(function () {
$('#mobile-menu').click(function () {
$('.nav-link').toggle(400);
$(this).toggleClass('open');
});
$(document).on('click', 'nav a[href^="#"]', function (event) {
event.preventDefault();
var width = $(window).width();
if (width < 992) {
$('.nav-link').toggle(400);
$('#mobile-menu').toggleClass('open');
}
$('html, body').animate({
scrollTop: $($.attr(this, 'href')).offset().top - 250
}, 0);
});
if ($(window).width() > 960) {
$(window).scroll(function () {
var scroll = $(window).scrollTop();
if (scroll >= 600) {
$("nav").addClass("scroll");
} else {
$("nav").removeClass("scroll");
}
});
}
$('#calendario-dates, #calendario-pop-close').click(function () {
$('#calendario-pop').toggle('600');
$('body').toggleClass('hide');
$('.slide-calendario-pop').slick({
dots: false,
arrows: true,
prevArrow: '<button type="button" class="slick-prev"><img src="img/metodologia-left.png"></button>',
nextArrow: '<button type="button" class="slick-next"><img src="img/metodologia-right.png"></button>',
infinite: true,
slidesToShow: 2,
slidesToScroll: 2,
responsive: [{
breakpoint: 992,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}]
});
});
$('#revisao-dates, #revisao-pop-close').click(function () {
$('#revisao-pop').toggle('600');
$('body').toggleClass('hide');
});
$('.slide-calendario-pop').show();
$('.leitura-slide').slick({
dots: false,
arrows: true,
prevArrow: '<button type="button" class="slick-prev"><img src="img/metodologia-left.png"></button>',
nextArrow: '<button type="button" class="slick-next"><img src="img/metodologia-right.png"></button>',
infinite: true,
slidesToShow: 4,
slidesToScroll: 4,
responsive: [{
breakpoint: 992,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}]
});
$('#redes-dates, #redes-pop-close').click(function () {
$('#redes-pop').toggle('600');
$('body').toggleClass('hide');
});
$('.redes-scroll').show();
$('.slide-download').slick({
dots: false,
arrows: true,
prevArrow: '<button type="button" class="slick-prev"><img src="img/download-left.png"></button>',
nextArrow: '<button type="button" class="slick-next"><img src="img/download-right.png"></button>',
infinite: true,
slidesToShow: 4,
slidesToScroll: 4,
responsive: [{
breakpoint: 992,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}]
});
$('.metodologia-slide').slick({
dots: false,
arrows: true,
prevArrow: '<button type="button" class="slick-prev"><img src="img/metodologia-left.png"></button>',
nextArrow: '<button type="button" class="slick-next"><img src="img/metodologia-right.png"></button>',
infinite: true,
slidesToShow: 4,
slidesToScroll: 4,
responsive: [{
breakpoint: 992,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}]
});
$('.header-slide').slick({
dots: true,
arrows: false,
infinite: true,
slidesToShow: 1,
slidesToScroll: 1,
autoplay: true,
autoplaySpeed: 2000,
fade: true,
cssEase: 'linear'
});
});
</script>]]>
|
1101
| <![CDATA[<script>
function Verifica(response) {
$(".submit").attr("class", "");
}
$(document).ready(function () {
$("#formcontato").validate({
rules: {
nome: "required",
email: {
required: true,
email: true
},
assunto: "required",
mensagem: "required"
},
message: {
nome: "required",
email: {
required: true,
email: true
},
assunto: "required",
mensagem: "required"
},
errorPlacement: function (error, element) {
error.appendTo(element.closest("div"));
},
ignore: ""
});
});
</script>]]>
|