42
| <![CDATA[<script>
window.fbAsyncInit = function () {
FB.init({
appId: '1918406185099172',
cookie: true,
xfbml: true,
version: 'v2.8'
});
FB.AppEvents.logPageView();
};
(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";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>]]>
|
66
| <![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 = "http://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.9&appId=1918406185099172";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>]]>
|
553
| <![CDATA[<script>
$(document).ready(function () {
$('.dropdown-menu .dropdown').click(function () {
$('.dropdown-menu').addClass('open');
$(this).addClass('open');
$(this).find("li").addClass('open');
});
$("#toogle-menu").click(function () {
$("#wrapper").toggle();
if ($("#wrapper").hasClass("aside-overlay-ativo")) {
$("#wrapper").removeClass("aside-overlay-ativo");
$("#bars").removeClass("fa-times");
$("#bars").addClass("fa-bars");
} else {
$("#wrapper").addClass("aside-overlay-ativo");
$("#bars").removeClass("fa-bars");
$("#bars").addClass("fa-times");
}
});
});
var $window = $(window);
var $resize_aside = $("#wrapper"),
$resize_main = $("#conteudo");
fn_resize_pagina = (function () {
if ($window.width() < 960) {
$resize_aside.height("100%");
$resize_main.height("auto");
}
else {
$resize_aside.height("auto");
$resize_main.height("auto");
$("#wrapper").show();
$('.nav li.dropdown').hover(function () {
$(this).addClass('open');
}, function () {
$(this).removeClass('open');
});
$('b.caret').hide()
$('.nav li.dropdown-submenu').hover(function () {
$(this).addClass('open');
}, function () {
$(this).removeClass('open');
});
$('.nav li.menu').hover(function () {
$(this).addClass('open');
}, function () {
$(this).removeClass('open');
});
if ($resize_aside.height() > $resize_main.height()) {
$resize_main.height($resize_aside.height());
}
else {
$resize_aside.height($resize_main.height());
}
}
});
$window.resize(function () {
fn_resize_pagina();
});
$window.load(function () {
fn_resize_pagina();
});
fn_resize_pagina();
</script>]]>
|