80
| <![CDATA[<script type="text/javascript">
var contraste = 'ativar';
const __URL__ = "//urussanga.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>]]>
|
144
| <![CDATA[<script type="text/javascript">
$(function() {
//$('#topo-tempo').hide();
console.log('https://www.fecam.org.br/tempo.php?codPrevisao=4720');
$.ajax({
url: 'https://www.fecam.org.br/tempo.php?codPrevisao=4720',
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>]]>
|
271
| <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
|
356
| <![CDATA[<script>
$(function() {
$('.portalservicos').each(function(){
var tamanhoPai = $(this).parent().innerWidth();
if(tamanhoPai > 710 )
{
$(this).addClass('t4');
}
else if(tamanhoPai > 460 )
{
$(this).addClass('t3');
}
else if(tamanhoPai > 300 )
{
$(this).addClass('t2');
}
else
{
$(this).addClass('t1');
}
});
});
</script>]]>
|
669
| <![CDATA[<script type="text/javascript">
$(function() {
$('.informacoes-municipais').each(function(){
var tamanhoPai = $(this).parent().innerWidth();
if(tamanhoPai > 350 )
{
$(this).addClass('t3');
}
else if(tamanhoPai > 242 )
{
$(this).addClass('t2');
}
else if(tamanhoPai > 242 )
{
$(this).addClass('t1');
}
else
{
$(this).addClass('');
}
});
});
</script>]]>
|
727
| <![CDATA[<script type="text/javascript">
$(function() {
$('.simbolos-municipais').each(function(){
var tamanhoPai = $(this).parent().innerWidth();
if(tamanhoPai > 350 )
{
$(this).addClass('t3');
}
else if(tamanhoPai > 242 )
{
$(this).addClass('t2');
}
else if(tamanhoPai > 242 )
{
$(this).addClass('t1');
}
else
{
$(this).addClass('');
}
});
});
</script>]]>
|
903
| <![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 = "//connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v2.7";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>]]>
|
970
| <![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>]]>
|
1105
| <![CDATA[<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20438656-20']);
_gaq.push(['_trackPageview'], '/');
(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>]]>
|