60
| <![CDATA[<script type="text/javascript">
var contraste = 'ativar';
const __URL__ = "//formosa.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>]]>
|
124
| <![CDATA[<script type="text/javascript">
$(function() {
//$('#topo-tempo').hide();
console.log('https://www.fecam.org.br/tempo.php?codPrevisao=2040');
$.ajax({
url: 'https://www.fecam.org.br/tempo.php?codPrevisao=2040',
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>]]>
|
272
| <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
|
317
| <![CDATA[<script type="text/javascript">
jQuery(function($)
{
$('#frmNoticiasBusca-0824104001613755671 input[name="inicioPeriodo"]').mask('99/99/9999');
$('#frmNoticiasBusca-0824104001613755671 input[name="fimPeriodo"]').mask('99/99/9999');
$('#frmGaleriasBusca-0824104001613755671 input[name="inicioPeriodo"]').mask('99/99/9999');
$('#frmGaleriasBusca-0824104001613755671 input[name="fimPeriodo"]').mask('99/99/9999');
});
</script>]]>
|
348
| <![CDATA[<script>
$( "#frmNoticiasBusca-0824104001613755671" ).submit(function( event ) {
event.preventDefault();
var action = $('#frmNoticiasBusca-0824104001613755671').attr('action');
var inpu = $('#frmNoticiasBusca-0824104001613755671 :input');
var inputs = $('#frmNoticiasBusca-0824104001613755671').serialize();
var values = {};
inpu.each(function() {
values[this.name] = $(this).val();
});
var parametros = "";
if ( values['palavrasChaves'] ) {
parametros += 'palavra-chave/' + values['palavrasChaves'] + '/' ;
}
if ( values['tag'] ) {
parametros += 'tag/' + values['tag'] + '/' ;
}
if ( values['inicioPeriodo'] ) {
var inicioPeriodo = values['inicioPeriodo'].split("/");
inicioPeriodo = inicioPeriodo.join("-");
parametros += 'inicio-periodo/' + inicioPeriodo + '/' ;
}
if ( values['fimPeriodo'] ) {
var fimPeriodo = values['fimPeriodo'].split("/");
fimPeriodo = fimPeriodo.join("-");
parametros += 'fim-periodo/' + fimPeriodo + '/' ;
}
event.preventDefault();
event.stopPropagation();
document.location = action + parametros;
return false;
});
jQuery(function($)
{
$('#tag').combobox({
create: function(){
$('#tag').combobox().data("customCombobox")
.input.attr("placeholder", "Assunto");
$('#tag').val('');
},
});
});
</script>]]>
|
624
| <![CDATA[<script type="text/javascript">
jQuery(function ($) {
var url = '/estruturaorganizacional/noticias/listar/codMapaItem/12432/codItemEstrutura/605/pagina/%pagina%';
$('.botaoIrPagina').click(function () {
var paginaRedirect = parseInt($(this).parent().children('.pagina').val());
if (paginaRedirect <= 0)
paginaRedirect = 1;
if (paginaRedirect > 31 )
paginaRedirect = 31;
if (paginaRedirect > 0 && paginaRedirect <= 31) {
var urlRedirect = url.replace('%pagina%', paginaRedirect);
window.location = urlRedirect;
}
else {
alert('Página inválida!');
}
});
$('.pagina').keypress(function (e) {
if (e.which == 13) {
$(this).parent().children('.botaoIrPagina').click();
}
});
});
</script>]]>
|
822
| <![CDATA[<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-20438656-47']);
_gaq.push(['_trackPageview'], '/estruturaorganizacional/noticias/listar/codMapaItem/12432');
(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>]]>
|