480
| <![CDATA[<script>
var recaptcha1;
var recaptcha2;
var recaptcha3;
var recaptcha4;
var myCallBack = function () {
recaptcha1 = grecaptcha.render('recaptcha1', {
'sitekey': '6LfFuVUUAAAAAB8dpWMvHGAh25szPcQYS8Hp5cbL',
'theme': 'light'
});
recaptcha2 = grecaptcha.render('recaptcha2', {
'sitekey': '6LfFuVUUAAAAAB8dpWMvHGAh25szPcQYS8Hp5cbL',
'theme': 'light'
});
recaptcha3 = grecaptcha.render('recaptcha3', {
'sitekey': '6LfFuVUUAAAAAB8dpWMvHGAh25szPcQYS8Hp5cbL',
'theme': 'light'
});
recaptcha4 = grecaptcha.render('recaptcha4', {
'sitekey': '6LfFuVUUAAAAAB8dpWMvHGAh25szPcQYS8Hp5cbL',
'theme': 'light'
});
};
</script>]]>
|
508
| <![CDATA[<script>
//Função para ver qual o elemento com maior height e ajustar todos
function ajustarTamanhoElementos(elemento){
let heightMax = 0;
$(elemento).each(function() {
if($(this).height() > heightMax){
heightMax = $(this).height();
}
});
heightMax = heightMax + 10;
$(elemento).css("height", heightMax+"px");
}
//Chamo a função pra ajustar o height
ajustarTamanhoElementos(".box_noticia");
</script>]]>
|
525
| <![CDATA[<script type="text/javascript">
$('#show_side_menu').on('click', function() {
$('#side_menu').toggleClass('push_side_menu_left');
});
$("#dropdown_example li a").on("click", function (e) {
//allow links to be followed if they don't have a sub-menu
if ( !$(this).parent().has("ul").length ) { return; }
//we have a sub-menu, so stop the link from being followed
e.preventDefault();
if(!$(this).hasClass("open")) {
//we need to know which 'level' we're on
var currentLevel = $(this).closest('ul')
$("li ul", currentLevel).slideUp(350);
$("li a", currentLevel).removeClass("open");
// open our new menu and add the open class
$(this).next("ul").slideDown(350);
$(this).addClass("open");
} else {
$(this).removeClass("open");
$(this).next("ul").slideUp(350);
}
});
function example_toggle() {
if($("#example_icon").hasClass("fa-angle-down")){
$('#example_icon').removeClass('fa-angle-down');
$('#example_icon').addClass('fa-angle-up');
}else{
$('#example_icon').removeClass('fa-angle-up');
$('#example_icon').addClass('fa-angle-down');
}
}
</script>]]>
|
563
| <![CDATA[<script type="text/javascript">
$(document).ready(function() {
$('.telefone').text(function(i, text) {
return text.replace(/(\d{2})(\d{4})(\d{4})/, '($1) $2-$3');
});
$('.celular').text(function(i, text) {
return text.replace(/(\d{2})(\d{5})(\d{4})/, '($1) $2-$3');
});
});
</script>]]>
|
576
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function () {
OwlCarousel.initOwlCarousel();
});
</script>]]>
|