72
| <![CDATA[<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.9";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>]]>
|
395
| <![CDATA[<script>
$(document).ready(function() {
var SPMaskBehavior = function(val) {
return val.replace(/\D/g, '').length === 11 ? '(00) 00000-0000' : '(00) 0000-00009';
},
spOptions = {
onKeyPress: function(val, e, field, options) {
field.mask(SPMaskBehavior.apply({}, arguments), options);
}
};
$('.phone').mask(SPMaskBehavior, spOptions);
if ($(".slides").length) {
$('.slides').slick({
autoplay: true,
arrows: false,
slidesToShow: 1,
slidesToScroll: 1
});
}
// if($("#jsSlideSingle").length) { $('#jsSlideSingle').slick({autoplay:true, arrows:false, dots:true }); }
/* #jsAgenda script carrousel */
/* Automatic open submenu do menu */
$("ul.nav li").hover(function() {
if ($(window).width() > 767) {
$(this).children("ul").stop().fadeIn("slow");
}
},
function() {
if ($(window).width() > 767) {
$(this).children("ul").stop().fadeOut("slow");
}
});
if ($("#jsAgenda").length) {
$('#jsAgenda').slick({
autoplay: false,
arrows: true,
dots: false,
infinite: true,
slidesToShow: 4,
slidesToScroll: 4,
responsive: [{
breakpoint: 991,
settings: {
slidesToShow: 2,
slidesToScroll: 2
}
},
{
breakpoint: 400,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
}
var find = function() {
field = $('#find_place');
}
});
</script>]]>
|