158
| <![CDATA[<script>
$(document).ready(function(){
//***********************************************************************************Faz o aumentar e diminuir a fonte*********************
function aumentaFonte(sinal) {
if(sinal == '+') {
novoTamanho = parseInt(sessionStorage.fonte_atual)+ 2;
} else {
novoTamanho = parseInt(sessionStorage.fonte_atual)- 2;
}
if(novoTamanho >= 12 && novoTamanho <= 18){
sessionStorage.fonte_atual = novoTamanho;
$("*").css('font-size' , novoTamanho);
}
}
if(!sessionStorage.fonte_atual > 0){ sessionStorage.fonte_atual = $('body').css('font-size'); }
$('.acess-texto').click(function(){ aumentaFonte($(this).attr('data-sinal')) });
//*********************************************************************************************************Fim acessibilida fonte**********
//***********************************************************************************Contraste*********************************************
function mudaContraste(contraste){
if(typeof sessionStorage.contraste != "undefined"){ var padrao = JSON.parse(sessionStorage.contrastePadrao); }
if(contraste == 1){
location.reload();
$('body').css('background-color' , padrao.body );
$('.navbar-default').css('background-color' , padrao.navbardefault );
$('header').css('background-color' , padrao.header );
$('.bgAzulescuro').css('background-color' , padrao.bgAzulescuro );
$('.tituloBox ').css('color' , padrao.tituloBox );
$('.textoBox ').css('color' , padrao.textoBox );
$('.box').css('background' , padrao.box );
$('.box2').css('background' , padrao.box2 );
$('.mapa_site').css('background-color' , padrao.mapa_site );
$('.copy').css('background-color' , padrao.copy );
$('.panel-heading').css('background-color' , padrao.panelheading );
$('.border5pxAzul').css('border-top' , padrao.border5pxAzul );
$('#areaMeioPag *').css('color' , padrao.areaMeioPag );
$('.linksNoticias ').css('color' , padrao.linksNoticias );
$('#legendas a').css('color' , padrao.legendas_a );
$('.listaVereadores').css('color' , padrao.listaVereadores );
$('.dropdown-menu').css('background' , padrao.dropdownmenu );
$('.titulo_noticia').css('color' , padrao.tituloNoticia );
$('.subtitulo_noticia').css('color' , padrao.subtituloNoticia );
$('.chamada_noticia').css('color' , padrao.chamadaNoticia );
$('.tituloPagina').css('color' , padrao.tituloPagina );
$('.listaUltimasGalerias div').css('color' , padrao.listaUltimasGalerias );
$( "tr" ).css( "background-color", "" );
$( ".table-striped > tbody > tr:nth-of-type(odd)" ).css( "background-color", "" );
$('.tiposBuscador').css('color' , padrao.tiposBuscador );
$('.dropdown-toggle').css('color' , padrao.dropdown-toggle );
$('.paddingLeft0px').css('color' , padrao.paddingLeft0px);
$('.breadcrumb').css('color' , padrao.breadcrumb);
$('.form-control').css('color' , padrao.form-control);
$('.pagination > li > a, .pagination > li > span').css("background-color", "");
$('.list-group-item').css("background-color", "");
$('.numberDiaAcess').css('color', padrao.numberDiaAcess);
$('.legendaAcess').css('color', padrao.legendaAcess);
$('img').each(function(){ //percorre todas imagens da tela e se tiver image de contraste retorna para normal
if($(this).attr("data-contraste") == 1){//adicionar na tag da imagem que tiver outra de contraste
var arraySrc = $(this).attr("src").split('/');
Newarray = arraySrc.filter((value)=>value!='contraste');
neWarraySrc = Newarray.join("/");
$(this).attr("src" , neWarraySrc );
}
});
}else if(contraste == 0){
$('body').css('background-color' ,'#000');
$('.navbar-default').css('background-color' ,'transparent' );
$('header').css('background-color' , '#585858' );
$('.bgAzulescuro').css('background-color' ,'#000' );
$('.tituloBox').css('color' ,'yellow' );
$('.textoBox').css('color' ,'yellow' );
$('.box').css('background' ,'transparent' );
$('.box2').css('background' ,'transparent' );
$('.mapa_site').css('background-color' , '#585858' );
$('.copy').css('background-color' ,'#000' );
$('.panel-heading').css('background-color' ,'#585858' );
$('.border5pxAzul').css('border-top' ,'0' );
$('#areaMeioPag *').css('color' ,'#FFF' );
$('.linksNoticias ').css('color' ,'#FFF' );
$('#legendas a').css('color' ,'#FFF' );
$('.listaVereadores').css('color' ,'#FFF' );
$('.titulo_noticia').css('color' ,'#FFF' );
$('.subtitulo_noticia').css('color' ,'#FFF' );
$('.chamada_noticia').css('color' ,'#FFF' );
$('.listaUltimasGalerias div').css('color' ,'yellow' );
$('.tituloPagina').css('color' ,'#FFF' );
$('.dropdown-menu').css('background-image', 'url( "https://www.weblinesistemas.com/responsivo/imagens/submenu_preto.png" )');
$( "tr" ).css( "background-color", "#000000" );
$( ".table-striped > tbody > tr:nth-of-type(odd)" ).css( "background-color", "#42545d" );
$('.tiposBuscador').css('color' , '#FFF');
$('.btn-default').css('color' , '#333');
$('.dropdown-toggle').css('color' , 'white' );
$('.paddingLeft0px').css('color' , '#FFF');
$('.breadcrumb').css('background-color' , 'transparent');
$('.form-control').css('color' , '#555');
$('.pagination > li > a, .pagination > li > span').css("background-color", "transparent");
$('.list-group-item').css("background-color", "transparent");
$('.numberDiaAcess').css('color', '#FFF');
$('.legendaAcess').css('color', '#FFF');
$('img').each(function(){ //percorre todas imagens da tela e se tiver image de contraste retorna para normal
if($(this).attr("data-contraste") == 1){//adicionar na tag da imagem que tiver outra de contraste
var arraySrc = $(this).attr("src").split('/');
arraySrc.splice( arraySrc.length-1 ,0 ,'contraste');
neWarraySrc = arraySrc.join("/");
$(this).attr("src" , neWarraySrc );
}
});
}
}
if(sessionStorage.contraste == 0){
mudaContraste(sessionStorage.contraste);
}
if(typeof sessionStorage.contraste == "undefined"){
sessionStorage.contraste = 1; //inicializa a session
sessionStorage.contrastePadrao = JSON.stringify({
body:$('body').css('background-color'),
header:$('header').css('background-color'),
navbardefault:$('.navbar-default').css('background-color'),
bgAzulescuro:$('.bgAzulescuro').css('background-color'),
tituloBox :$('.tituloBox ').css('color'),
textoBox :$('.textoBox ').css('color'),
box :$('.box').css('background'),
box2 :$('.box2').css('background'),
mapa_site :$('.mapa_site').css('background-color'),
border5pxAzul :$('.border5pxAzul').css('border-top'),
panelheading :$('.panel-heading ').css('background-color'),
copy :$('.copy ').css('background-color'),
areaMeioPag :$('#areaMeioPag ').css('color'),
linksNoticias :$('.linksNoticias ').css('color'),
legendas_a : $('#legendas a').css('color'),
listaVereadores : $('.listaVereadores').css('color'),
dropdownmenu : $('.dropdown-menu').css('background'),
tituloNoticia : $('.titulo_noticia').css('color'),
subtituloNoticia : $('.subtitulo_noticia').css('color'),
chamadaNoticia : $('.chamada_noticia').css('color'),
listaUltimasGalerias : $('.listaUltimasGalerias div').css('color'),
tituloPagina : $('.tituloPagina').css('color'),
});
//Obj com as tags para mudar a cor e guardar o valor padrao.
}
$('.acess-contraste').click(function(){
sessionStorage.contraste = sessionStorage.contraste == 1 ? 0 : 1 ;
mudaContraste(sessionStorage.contraste);
});
//*********************************************************************************************************Fim Contraste**********
});
</script>]]>
|
687
| <![CDATA[<script>
$(document).ready(function(){
$('.click-link').click(function(){
window.location = $(this).data('link');
})
})
</script>]]>
|
2024
| <![CDATA[<script>
$( "img[vshapes='_x0000_t75']" ).attr('src','');
</script>]]>
|
2028
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_23']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image001.jpg');
</script>]]>
|
2032
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_22']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image003.jpg');
</script>]]>
|
2036
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_21']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image005.jpg');
</script>]]>
|
2040
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_20']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image005.jpg');
</script>]]>
|
2044
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_19']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image008.jpg');
</script>]]>
|
2048
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_18']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image010.jpg');
</script>]]>
|
2052
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_17']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2056
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_16']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image008.jpg');
</script>]]>
|
2060
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_15']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2064
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_14']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2068
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_13']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image014.jpg');
</script>]]>
|
2072
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_12']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2076
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_11']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2080
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_10']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2084
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_9']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2088
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_8']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2092
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_7']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2096
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_6']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2100
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_5']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2104
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_4']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2108
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_3']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2112
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_2']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2116
| <![CDATA[<script>
$( "img[vshapes='Picture_x0020_1']" ).attr('src','http://cambara.pr.gov.br/images/imagesnoticias/9/principal_arquivos/image012.jpg');
</script>]]>
|
2151
| <![CDATA[<script>
$(document).ready(function(){
(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 = 'https://connect.facebook.net/pt_BR/sdk.js#xfbml=1&version=v3.1';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
});
</script>]]>
|
2200
| <![CDATA[<script>
$(document).ready(function(){
$('#pag1').click(function(){
$('#form-escolha-busca').attr('action' ,'?pag=T0RNPU9UZz1PVFk9T0RnPU9EWT1OelU9T1RZPU9XUT1PVEk9T0dVPU9UUT1PR1U9WVRBPQ==' );
});
$('#pag2').click(function(){
$('#form-escolha-busca').attr('action' ,'?pag=T0RNPU9UZz1PVFk9T0RnPU9EWT1Oamc9T1dRPU9HRT1PVGM9T0dVPU9HTT1PVEU9T0dVPU4yST1PVFE9T1dFPVlUUT0=' );
});
$('#pag3').click(function(){
$('#form-escolha-busca').attr('action' ,'?pag=T0RNPU9UZz1PVFk9T0RnPU9EWT1Oamc9T1dRPU9HRT1PVGM9T0dVPU9HTT1PVEU9T0dVPU4yWT1ZVEU9WVRBPVlURT1ZVEk9WVRZPU9XVT1ZVGs9WVdNPVlUaz1PV0U9WVdNPQ==' );
});
/*$('#form-escolha-busca').submit(function(){
if($('#palavraChave').val()==""){
alert("Digite uma palavra chave.");
return true;
}
});*/
});
</script>]]>
|
2738
| <![CDATA[<script type="text/javascript">
(function () {
"use strict";
var cookieAlert = document.querySelector(".cookiealert");
var acceptCookies = document.querySelector(".acceptcookies");
if (!cookieAlert) {
return;
}
cookieAlert.offsetHeight; // Force browser to trigger reflow
// Show the alert if we cant find the "acceptCookies" cookie
if (!getCookie("acceptCookies")) {
cookieAlert.classList.add("show");
}
// When clicking on the agree button, create a 1 year
// cookie to remember user's choice and close the banner
acceptCookies.addEventListener("click", function () {
setCookie("acceptCookies", true, 365);
cookieAlert.classList.remove("show");
// dispatch the accept event
window.dispatchEvent(new Event("cookieAlertAccept"));
$.ajax({
url: "indexAjax.php?pag=T1RRPU9EUT1PR1k9T1dJPU9EWT1ObUk9T0RnPU9HUT1PVGc9T1dVPU5tVT1PV009T1dNPU9XRT1PVGc9T1RZPVlUUT0=",
context: document.body
}).done(function() {
$( this ).addClass( "done" );
});
});
// Cookie functions from w3schools
function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
var expires = "expires=" + d.toUTCString();
if(location.protocol == 'https:'){
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/;SameSite=None;Secure";
}else{
document.cookie = cname + "=" + cvalue + ";" + expires + ";";
}
}
function getCookie(cname) {
var name = cname + "=";
var decodedCookie = decodeURIComponent(document.cookie);
var ca = decodedCookie.split(';');
for (var i = 0; i < ca.length; i++) {
var c = ca[i];
while (c.charAt(0) === ' ') {
c = c.substring(1);
}
if (c.indexOf(name) === 0) {
return c.substring(name.length, c.length);
}
}
return "";
}
})();
</script>]]>
|