9
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-66531202-43');
</script>]]>
|
794
| <![CDATA[<script type="text/javascript">
google.charts.load("current", {packages:["corechart"]});
google.charts.setOnLoadCallback(drawChart2);
function drawChart2() {
var data2 = google.visualization.arrayToDataTable([
['Gr\u00e1fico', 'Relat\u00f3rios'],
['Pendente', 186 ],
['Em An\u00e1lise', 0 ],
['Finalizado', 279 ],
['Em Andamento', 1 ]
]);
var options2 = {
legend: 'none',
pieSliceText: 'label',
title: '',
pieStartAngle: 100,
colors: ['#DC3912', '#FF9900', '#3366CC', '#109518']
};
var chart2 = new google.visualization.PieChart(document.getElementById('piechart2'));
chart2.draw(data2, options2);
}
</script>]]>
|
853
| <![CDATA[<script type="text/javascript">
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Gr\u00e1ficos', 'tipos'],
['informa\u00e7\u00e3o', 51],
['reclama\u00e7\u00e3o', 253],
['sugest\u00e3o', 24 ]
]);
var options = {
legend: 'none',
pieSliceText: 'label',
title: '',
pieStartAngle: 100
};
var chart = new google.visualization.PieChart(document.getElementById('piechart'));
chart.draw(data, options);
}
</script>]]>
|
913
| <![CDATA[<script type="text/javascript">
var $jq = $.noConflict();
function getCaptcha(str) {
var url = $jq('#valor_cidade').val();
if (str.length != 0) {
var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange = function() {
if (this.readyState == 4 && this.status == 200) {
$jq('#texto').html(this.responseText);
}
};
xmlhttp.open("GET", url+"/inga_captcha/inga_captcha.php?q="+str+"&cliente_id="+1058, true);
xmlhttp.send();
}
}
$jq( document ).ready(function() {
getCaptcha(9);
});
</script>]]>
|
949
| <![CDATA[<script>
$jq("#anonimo").on("change", function () {
if ($jq(this).is(':checked')) {
$jq('.esconde_anonimo').hide();
$jq('.esconde_anonimo').find( "input" ).val('');
} else {
$jq('.esconde_anonimo').show();
}
});
</script>]]>
|
1240
| <![CDATA[<script type="text/javascript">
function validaBusca(){
if(!$("#ipt-pesquisa").val()){
alertify.alert('<img style="margin:0 auto; max-height:60px" src="https://www.marialva.pr.gov.br//images/brasao_topo.png" class="img-responsive"/>','O campo pesquisa está vazio');
return false;
}
}
function exibirFormulario(param){
if(param == true) {
$('#conteudo-pesquisa').show();
$('#busca').hide();
$('#btn-hidden-pesquisa').hide();
} else {
$('#conteudo-pesquisa').hide();
$('#busca').show();
$('#btn-hidden-pesquisa').show();
}
}
$('iframe').iframeTracker({
blurCallback: function(){
$('#carousel-tv').carousel('pause');
}
});
$(window).scroll(function (event) {
if ($(window).width() > "992") {
event.stopPropagation();
if ($(window).scrollTop() > '10' && $(window).scrollTop() <= '1910') {
$('#menu-lateral').show('fade');
} else {
$('#menu-lateral').hide('fade');
}
}
});
function iniciar(id){
var total = 0;
$('#carousel-tv').carousel('cycle');
for (var i = total; i > 0 ; i--) {
var posicao = i - 1;
$('#video'+posicao )[0].contentWindow.postMessage('{"event":"command","func":"' + 'stopVideo' + '","args":""}', '*');
}
}
$(document).ready(function(){
// console.log('teste');
dimensionar();
// alert("teste");
$(".owl-carousel").owlCarousel({
navigation: true,
nav: true,
navText: ["<i class='fa fa-chevron-left' aria-hidden='true'></i>", "<i class='fa fa-chevron-right' aria-hidden='true'></i>"],
autoplay:true,
autoWidth: false,
slideBy: 1,
dots:false,
margin: 0,
loop: false,
responsive: {
0: {
items: 1
},
700: {
items: 2
},
993: {
items: 3
}
}
});
$('#popup-modal_1').modal('show');
$('#popup-modal_2').modal('show');
$('#carousel-tv').on('slide.bs.carousel', function (e) {
var slide = $(e.relatedTarget).index();
if(slide > 0){
var pos = $('#div-scroll-videos').scrollTop();
$("#div-scroll-videos").animate({
scrollTop: pos + 100
}, 800);
} else {
$("#div-scroll-videos").animate({
scrollTop: 0
}, 800);
}
});
window.onresize = function(event){
dimensionar();
}
});
function dimensionar(){
var col = document.getElementById("col-ultima-noticia");
var div = col.getElementsByTagName("div");
var width, height, imagem, img_width, img_height;
for(i = 0; i < div.length; i++){
width = div[i].offsetWidth;
height = div[i].offsetHeight;
imagem = div[i].children;
for(j = 0; j < imagem.length; j++){
img_width = imagem[j].naturalWidth;
img_height = imagem[j].naturalHeight;
if((img_width / img_height) < (width / height)){
imagem[j].classList.add("img-retrato");
imagem[j].classList.remove("img-paisagem");
}
else{
imagem[j].classList.add("img-paisagem");
imagem[j].classList.remove("img-retrato");
}
}
}
}
</script>]]>
|