49
| <![CDATA[<script type="text/javascript">
var contraste = 'ativar';
const __URL__ = "//jaguaruna.sc.gov.br/";
const url = __URL__ + "zbox/contraste/index/";
$("#pluginContrasteIsAtivo").click(function(){
let dataPost = {
contraste: contraste,
};
let xhr = $.ajax({
url: url,
method: "POST",
data: dataPost,
dataType: "json"
});
xhr.complete(function () {
location.reload();
});
});
</script>]]>
|
113
| <![CDATA[<script type="text/javascript">
$(function() {
//$('#topo-tempo').hide();
console.log('https://www.fecam.org.br/tempo.php?codPrevisao=4623');
$.ajax({
url: 'https://www.fecam.org.br/tempo.php?codPrevisao=4623',
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","https://cdn.fecam.net.br/styles/layouts/pm/default/images/previsao-tempo/"+dia['tempo']+".png");
$(prefix+"-previsao").html(dia['condicao']);
console.log(dia);
dc++;
}
}
});
});
</script>]]>
|
234
| <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
|
287
| <![CDATA[<script type="text/javascript">
jQuery(function($)
{
$('#btSelecionarAgenda').click(function(){
if($( "#selecionarDataAgenda" ).hasClass('hasDatepicker'))
{
$( "#selecionarDataAgenda" ).datepicker("destroy" );
}
else
{
$( "#selecionarDataAgenda" ).datepicker({
changeMonth: true,
changeYear: true,
numberOfMonths: 3,
dateFormat: "yy",
showAnim: "slideDown",
onSelect: function (dateText, inst) {
var urlDate = "/agenda/index/agenda-mensal/codMapaItem/91378/ano/%ANO%/semana/%SEMANA%/mes/%MES%";
var date = $(this).datepicker('getDate');
var week = (!date ? 0 : $.datepicker.iso8601Week(date));
var year = date.getFullYear();
var month = date.getMonth()+1;
urlDate = urlDate.replace('%ANO%', year);
urlDate = urlDate.replace('%SEMANA%', week);
urlDate = urlDate.replace('%MES%', month);
window.location = urlDate;
},
});
}
});
});
</script>]]>
|
447
| <![CDATA[<script type="text/javascript">
jQuery(function($)
{
$('.sessao').hover(
function()
{
var legendaDetalhes = $(this).children('.legendaDetalhes');
legendaDetalhes.fadeIn();
$(document).mousemove(function(e){
var left = e.pageX + 10;
var top = e.pageY + 10;
legendaDetalhes.css('left', left +'px');
legendaDetalhes.css('top', top +'px');
});
},
function()
{
$(this).children('.legendaDetalhes').fadeOut('fast');
}
);
});
</script>]]>
|
587
| <![CDATA[<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20437424-50']);
_gaq.push(['_trackPageview'], '/agenda/index/agenda-mensal/codMapaItem/91378/ano/2020/mes/11');
(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>]]>
|