67
| <![CDATA[<script type="text/javascript">
var contraste = 'ativar';
const __URL__ = "//campoere.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>]]>
|
131
| <![CDATA[<script type="text/javascript">
$(function() {
//$('#topo-tempo').hide();
console.log('https://www.fecam.org.br/tempo.php?codPrevisao=1199');
$.ajax({
url: 'https://www.fecam.org.br/tempo.php?codPrevisao=1199',
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>]]>
|
300
| <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
|
373
| <![CDATA[<script type="text/javascript">
jQuery(function($)
{
$('.playerAudioContent').hide();
function playSound(imagePlay)
{
$('.playerAudioContent').slideDown('slow');
var sound = $(imagePlay).attr('sound');
if(sound == $('#playeraudio').attr('src'))
{
if($(imagePlay).hasClass('pause'))
{
document.getElementById('playeraudio').play();
$(imagePlay).removeClass('pause');
}
else
{
document.getElementById('playeraudio').pause();
$(imagePlay).addClass('pause');
}
}
else
{
$('.image-play').removeClass('pause');
$('#playeraudio').attr('src', sound);
document.getElementById('playeraudio').play();
$('.audio').removeClass('active');
$(imagePlay).parent().addClass('active');
}
}
$('.image-play').click(function(){
playSound(this);
});
document.getElementById('playeraudio').addEventListener("play", function () {
$('.playlist .active .image-play').removeClass('pause');
});
document.getElementById('playeraudio').addEventListener("pause", function () {
$('.playlist .active .image-play').addClass('pause');
});
document.getElementById('playeraudio').addEventListener('ended',function(e){
var activeAudio = $('.audios .audio.active');
var index = activeAudio.index() + 1;
var nextAudio = $('.audios .audio').eq(index);
if(index < $('.audios .audio').length)
{
window.setTimeout(function(){
playSound(nextAudio.find('.image-play'))
}, 2000);
}
else
{
activeAudio.find('.image-play').addClass('pause');
}
});
});
</script>]]>
|
616
| <![CDATA[<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20365067-41']);
_gaq.push(['_trackPageview'], '/noticias/ver/2020/07/exercito-brasileiro-atuara-em-campo-ere');
(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>]]>
|