91
| <![CDATA[<script type="text/javascript">
//<![CDATA[
var __cultureInfo = {"name":"pt-BR","numberFormat":{"CurrencyDecimalDigits":2,"CurrencyDecimalSeparator":",","IsReadOnly":true,"CurrencyGroupSizes":[3],"NumberGroupSizes":[3],"PercentGroupSizes":[3],"CurrencyGroupSeparator":".","CurrencySymbol":"R$","NaNSymbol":"NaN","CurrencyNegativePattern":1,"NumberNegativePattern":1,"PercentPositivePattern":1,"PercentNegativePattern":1,"NegativeInfinitySymbol":"-∞","NegativeSign":"-","NumberDecimalDigits":2,"NumberDecimalSeparator":",","NumberGroupSeparator":".","CurrencyPositivePattern":0,"PositiveInfinitySymbol":"∞","PositiveSign":"+","PercentDecimalDigits":2,"PercentDecimalSeparator":",","PercentGroupSeparator":".","PercentSymbol":"%","PerMilleSymbol":"‰","NativeDigits":["0","1","2","3","4","5","6","7","8","9"],"DigitSubstitution":1},"dateTimeFormat":{"AMDesignator":"","Calendar":{"MinSupportedDateTime":"\/Date(-62135586000000)\/","MaxSupportedDateTime":"\/Date(253402300799999)\/","AlgorithmType":1,"CalendarType":1,"Eras":[1],"TwoDigitYearMax":2029,"IsReadOnly":true},"DateSeparator":"/","FirstDayOfWeek":0,"CalendarWeekRule":0,"FullDateTimePattern":"dddd, d\u0027 de \u0027MMMM\u0027 de \u0027yyyy HH:mm:ss","LongDatePattern":"dddd, d\u0027 de \u0027MMMM\u0027 de \u0027yyyy","LongTimePattern":"HH:mm:ss","MonthDayPattern":"d \u0027de\u0027 MMMM","PMDesignator":"","RFC1123Pattern":"ddd, dd MMM yyyy HH\u0027:\u0027mm\u0027:\u0027ss \u0027GMT\u0027","ShortDatePattern":"dd/MM/yyyy","ShortTimePattern":"HH:mm","SortableDateTimePattern":"yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss","TimeSeparator":":","UniversalSortableDateTimePattern":"yyyy\u0027-\u0027MM\u0027-\u0027dd HH\u0027:\u0027mm\u0027:\u0027ss\u0027Z\u0027","YearMonthPattern":"MMMM\u0027 de \u0027yyyy","AbbreviatedDayNames":["dom","seg","ter","qua","qui","sex","sáb"],"ShortestDayNames":["D","S","T","Q","Q","S","S"],"DayNames":["domingo","segunda-feira","terça-feira","quarta-feira","quinta-feira","sexta-feira","sábado"],"AbbreviatedMonthNames":["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez",""],"MonthNames":["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""],"IsReadOnly":true,"NativeCalendarName":"Calendário gregoriano","AbbreviatedMonthGenitiveNames":["jan","fev","mar","abr","mai","jun","jul","ago","set","out","nov","dez",""],"MonthGenitiveNames":["janeiro","fevereiro","março","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro",""]},"eras":[1,"d.C.",null,0]};//]]>
</script>]]>
|
470
| <![CDATA[<script type="text/javascript">
(function () {
var cx = '006381825891808813265:f0pxyyuj5fc';
var gcse = document.createElement('script');
gcse.type = 'text/javascript';
gcse.async = true;
gcse.src = 'https://cse.google.com/cse.js?cx=' + cx;
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(gcse, s);
})();
$(document).ready(function () {
artigosNoticiasRedim();
//$('#feat-news div.col-lg-2:first-child, #artigos-noticias ul').mCustomScrollbar({theme:"dark-3"});
$('.scrollbar-outer').scrollbar();
/* Botão Barra SP */
$('#navbarOpen').appendTo('#top ul.navbar-nav li:first-child');
/* Fim Botão Barra SP */
});
$(window).resize(function () {
artigosNoticiasRedim();
});
$('#navbarOpen button').click(function (e) {
e.preventDefault();
if ($('#navbarMenu:visible').length) {
$('#navbarMenu').hide("slide", { direction: "right" }, 1000);
} else {
$('#navbarMenu').show("slide", { direction: "right" }, 1000);
}
});
/* Bloco notícias */
function artigosNoticiasRedim() {
varNewsH = $('.featured').height();
$('#noticias .content-box, #artigos .content-box').height((varNewsH / 2) + 5);
console.log("Content Box Height: " + ((varNewsH / 2) + 5));
varNewsContentOuterH = $('#noticias .content-box').outerHeight();
console.log("News Content Height: " + varNewsContentOuterH);
varNewsHeaderH = $('#noticias .content-box h2').outerHeight();
console.log("News Header Height: " + varNewsHeaderH);
varNewsContentH = $('#noticias .content-box').height();
$('#noticias ul, #artigos ul').height((varNewsContentH - varNewsHeaderH) - 30);
console.log("News Container Height: " + (varNewsContentH - varNewsHeaderH) - 30);
varFeatH = $('#feat-news .featured img').height();
$('.carousel').height(varFeatH);
};
/* FIM Bloco notícias */
/* Parallax */
$('.cover header').each(function () {
var $obj = $(this);
$(window).scroll(function () {
var yPos = -($(window).scrollTop() / $obj.data('speed'));
var bgpos = '50% ' + yPos + 'px';
$obj.css('background-position', bgpos);
});
});
/* FIM Parallax */
/* Galeria de Notícias */
$(".carousel li a img").click(function (e) {
e.preventDefault();
var source = $(this).parent("a").attr("href");
var headline = $(this).attr("alt");
var name = $(this).parent("a").attr("title");
var link = $(this).attr("data-link");
$("#feat-news li a img").removeClass("active");
$(this).addClass("active");
$(".featured img").attr("src", source);
$(".featured h3 a").text(headline);
$(".featured .credits").text(name);
$(".featured a").attr("href", link);
});
/* FIM Galeria de Notícias */
/* Google Analytics testado somente na nova interface
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-46156385-1', 'cssscript.com');
ga('send', 'pageview');
/* FIM Google Analytics */
// analytics que da continuidade ao analytics do site antigo
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
})(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-64302484-1', 'auto');
ga('send', 'pageview');
/* Submenu */
$("#menu > li > a").click(function () {
$('ul.sub-menu').not($(this).siblings()).slideUp();
$(this).siblings("ul.sub-menu").slideToggle(200);
});
/* FIM Submenu */
/* Acessibilidade */
var $btnAumentar = $("#btnAumentar");
var $btnDiminuir = $("#btnDiminuir");
var $btnFontenormal = $("#btnFontenormal");
var $elemento = $("body #content").find("*"); //encontra todos os elementos dentro do #content
var fonts = [];
function obterTamanhoFonte() {
for (var i = 0; i < $elemento.length; i++) {
fonts.push(parseFloat($elemento.eq(i).css('font-size')));
}
}
obterTamanhoFonte();
$btnAumentar.on('click', function () {
for (var i = 0; i < $elemento.length; i++) {
++fonts[i];
$elemento.eq(i).css('font-size', fonts[i]);
}
});
$btnDiminuir.on('click', function () {
for (var i = 0; i < $elemento.length; i++) {
--fonts[i];
$elemento.eq(i).css('font-size', fonts[i]);
}
});
/* FIM Acessibilidade */
</script>]]>
|
620
| <![CDATA[<script type="text/javascript">
$(function () {
$('#empreendimentos').galleryView({
transition_speed: 1000, //INT - duration of panel/frame transition (in milliseconds)
transition_interval: 4000, //INT - delay between panel/frame transitions (in milliseconds)
easing: 'swing', //STRING - easing method to use for animations (jQuery provides 'swing' or 'linear', more available with jQuery UI or Easing plugin)
show_panels: true, //BOOLEAN - flag to show or hide panel portion of gallery
show_panel_nav: false, //BOOLEAN - flag to show or hide panel navigation buttons
enable_overlays: true, //BOOLEAN - flag to show or hide panel overlays
panel_width: 940, //INT - width of gallery panel (in pixels)
panel_height: 522, //INT - height of gallery panel (in pixels)
panel_animation: 'slide', //STRING - animation method for panel transitions (crossfade,fade,slide,none)
panel_scale: 'crop', //STRING - cropping option for panel images (crop = scale image and fit to aspect ratio determined by panel_width and panel_height, fit = scale image and preserve original aspect ratio)
overlay_position: 'bottom', //STRING - position of panel overlay (bottom, top)
pan_images: true, //BOOLEAN - flag to allow user to grab/drag oversized images within gallery
pan_style: 'drag', //STRING - panning method (drag = user clicks and drags image to pan, track = image automatically pans based on mouse position
pan_smoothness: 15, //INT - determines smoothness of tracking pan animation (higher number = smoother)
start_frame: 1, //INT - index of panel/frame to show first when gallery loads
show_filmstrip: true, //BOOLEAN - flag to show or hide filmstrip portion of gallery
show_filmstrip_nav: true, //BOOLEAN - flag indicating whether to display navigation buttons
enable_slideshow: false, //BOOLEAN - flag indicating whether to display slideshow play/pause button
autoplay: false, //BOOLEAN - flag to start slideshow on gallery load
show_captions: false, //BOOLEAN - flag to show or hide frame captions
filmstrip_size: 3, //INT - number of frames to show in filmstrip-only gallery
filmstrip_style: 'scroll', //STRING - type of filmstrip to use (scroll = display one line of frames, scroll filmstrip if necessary, showall = display multiple rows of frames if necessary)
filmstrip_position: 'bottom', //STRING - position of filmstrip within gallery (bottom, top, left, right)
frame_width: 100, //INT - width of filmstrip frames (in pixels)
frame_height: 66, //INT - width of filmstrip frames (in pixels)
frame_opacity: 0.5, //FLOAT - transparency of non-active frames (1.0 = opaque, 0.0 = transparent)
frame_scale: 'crop', //STRING - cropping option for filmstrip images (same as above)
frame_gap: 5, //INT - spacing between frames within filmstrip (in pixels)
show_infobar: true, //BOOLEAN - flag to show or hide infobar
infobar_opacity: 0.7 //FLOAT - transparency for info bar
});
});
</script>]]>
|