75
| <![CDATA[<script type="text/javascript">
var contraste = 'ativar';
const url = "/zbox/contraste";
$("#pluginContrasteIsAtivo").click(function(){
let dataPost = {
contraste: contraste,
};
let xhr = $.ajax({
headers: {"Access-Control-Allow-Origin": "*"},
url: url,
method: "POST",
data: dataPost,
dataType: "json"
});
xhr.setRequestHeader("Access-Control-Allow-Origin", "*");
xhr.setRequestHeader("Access-Control-Allow-Credentials", "true");
xhr.setRequestHeader("Access-Control-Allow-Methods", "GET,HEAD,OPTIONS,POST,PUT");
xhr.setRequestHeader("Access-Control-Allow-Headers", "Access-Control-Allow-Headers, Origin,Accept, X-Requested-With, Content-Type, Access-Control-Request-Method, Access-Control-Request-Headers");
xhr.complete(function () {
location.reload();
});
});
</script>]]>
|
143
| <![CDATA[<script type="text/javascript">
$(function() {
//$('#topo-tempo').hide();
console.log('https://www.fecam.org.br/tempo.php?codPrevisao=4991');
$.ajax({
url: 'https://www.fecam.org.br/tempo.php?codPrevisao=4991',
jsonpCallback: 'jsonCallback',
contentType: "application/json",
dataType: 'jsonp',
cache: 'false',
success: function(data){
data = data['tempo'];
dc = 0; //Contador de dias;
while(dc <= 1){
prefix = "#previsao-tempo-dia-"+(dc+1);
dia = data['previsao'][dc];
$(prefix).html(dia['diaSemana']);
$(prefix+'-max').html(dia['maxima']+"C");
$(prefix+"-min").html(dia['minima']+"C");
$(prefix+"-icone img").attr("src","/styles/layouts/pm/default/images/previsao-tempo/"+dia['tempo']+".png");
$(prefix+"-previsao").html(dia['condicao']);
console.log(dia);
dc++;
}
}
});
});
</script>]]>
|
276
| <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
|
345
| <![CDATA[<script type="text/javascript">
$(function() {
$('.widget').each(function(){
var tamanhoPai = $(this).parent().innerWidth();
if(tamanhoPai > 500 )
{
$(this).addClass('t3');
}
else if(tamanhoPai > 350 )
{
$(this).addClass('t2');
}
else
{
$(this).addClass('t1');
}
});
$( ".ver-curriculo" ).click(function() {
$( ".curriculo" ).slideToggle( "slow", function() {
if($(this).css('display') == 'none')
{
$( ".ver-curriculo span" ).html('Abrir Currículo');
}
else
{
$( ".ver-curriculo span" ).html('Fechar Currículo');
}
});
});
});
</script>]]>
|
419
| <![CDATA[<script type="text/javascript">
$(function() {
$('.widget-estrutura').each(function(){
var tamanhoPai = $(this).parent().innerWidth();
if(tamanhoPai > 969 )
{
$(this).addClass('t4');
}
else if(tamanhoPai > 680 )
{
$(this).addClass('t3');
}
else if(tamanhoPai > 340 )
{
$(this).addClass('t2');
var email = $(this).find('.email');
$(email).children('a').html('E-mail');
}
else
{
$(this).addClass('t1');
}
});
$( ".curriculo-pessoas" ).hide();
$( ".ver-curriculo-pessoa" ).click(function() {
$( ".curriculo-pessoas" ).slideToggle( "slow", function() {
if($(this).css('display') == 'none')
{
$( ".ver-curriculo-pessoa span" ).html('Ver mais informações');
}
else
{
$( ".ver-curriculo-pessoa span" ).html('Fechar mais informações');
}
});
});
});
</script>]]>
|
498
| <![CDATA[<script type="text/javascript">
$(window).load(function () {
$('#conteudoLayout .zl-divisao .zl-bloco').each(function () {
var celulas = $(this).find('.zl-celula');
var widthBloco = $(this).width();
if (celulas.length == 1)
$(celulas).width('100%');
else {
var widthTotal = 0;
$(celulas).each(function () {
widthTotal += $(this).width();
});
$(celulas).each(function () {
var newWidth = widthBloco * $(this).width() / widthTotal;
$(this).width(newWidth);
});
}
for (i = 0, j = 1; i < celulas.length; i++, j++) {
$(celulas[i]).addClass('celula' + j);
}
});
});
</script>]]>
|
659
| <![CDATA[<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20437164-49']);
_gaq.push(['_trackPageview'], '/estruturaorganizacional/hotsite/index/codHotsite/1283');
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
jQuery(document).ajaxComplete(function(e, xhr, settings){
_gaq.push(['_trackPageview', settings.url]);
});
</script>]]>
|