46
| <![CDATA[<script type="text/javascript">var addthis_config = {"data_track_addressbar":false};</script>]]>
|
258
| <![CDATA[<script>
// Customização do texto do button
$('.input-botao span span').html( 'buscar');
</script>]]>
|
277
| <![CDATA[<script type="text/javascript">
var contraste = 'ativar';
const __URL__ = "//camaracacador.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>]]>
|
402
| <![CDATA[<script type="text/javascript">
// FUNÇÃO DO SLIDESHOW
jQuery(function($)
{
var indexDestaque = 0;
var tempo = 0;
function fadeDestaque()
{
if(tempo > 0)
{
tempo--;
}
else
{
if(indexDestaque < 0 || indexDestaque >= $('.slides').length)
{
indexDestaque = 0;
}
$('.slides').hide();
$('.slides').eq(indexDestaque).fadeIn('slow');
tempo = 7;
indexDestaque++;
}
}
$('.slides').hide();
$('.slides').first().show();
setInterval(function(){ fadeDestaque(); }, 1000);
$('.slidesPrev').click(function(){
tempo = 0;
indexDestaque--;
indexDestaque--;
if(indexDestaque < 0)
{
indexDestaque = $('.slides').length - 1;
}
fadeDestaque();
});
$('.slidesNext').click(function(){
tempo = 0;
fadeDestaque();
});
});
</script>]]>
|
612
| <![CDATA[<script>
$.get( '/index/have-sessao-ao-vivo?v=1610830019', {}, function(data){
if(data.length > 10)
{
var hoje = new Date().toTimeString()
$("#botoes").html(data)
var inicioSessao = $("#sessaoVivo").attr('data-inicio')
var fimSessao = $("#sessaoVivo").attr('data-fim')
var hoje = hoje.split(":")
var inicioSessao = inicioSessao.split(":")
var fimSessao = fimSessao.split(":")
if(hoje[0] >= inicioSessao[0]){
if(hoje[0] != '00'){
if( hoje[0] <= fimSessao[0]){
$("#sessaoVivo").parent().show();
}
}
else{
$("#sessaoVivo").parent().show();
}
}
}
else
{
// console.log("erro");
}
}, "json");
</script>]]>
|
890
| <![CDATA[<script type='text/javascript'>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27725264-14']);
_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>]]>
|