42
| <![CDATA[<script>
$(document).ready(function(){
var index_highest = 0;
$("*").each(function() {
var index_current = parseInt($(this).css("z-index"), 10);
if(index_current > index_highest) {
index_highest = index_current;
}
});
$('#link-pag-home').css("z-index",index_highest+1);
$('.navbar').css("z-index",index_highest-1)
});
</script>]]>
|
59
| <![CDATA[<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-94087034-1', 'auto');
ga('send', 'pageview');
</script>]]>
|
187
| <![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", "" );
$('.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' ,'#000' );
$('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" );
$('.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>]]>
|
507
| <![CDATA[<script>
$(document).ready(function(){
$('.click-link').click(function(){
window.location = $(this).data('link');
})
})
</script>]]>
|
1879
| <![CDATA[<script>
$(".MsoNormalTable").attr("width","100%");
$(".MsoNormalTable").find('td').attr("width","");
$(".MsoNormalTable").find('td').attr("nowrap",null);
</script>]]>
|
1884
| <![CDATA[<script>
$( "img[vshapes='_x0000_t75']" ).attr('src','');
</script>]]>
|
1888
| <![CDATA[<script>
$( "img[vshapes='Imagem_x0020_1']" ).attr('src','http://camarapv.sp.gov.br/images/imagesnoticias/96/principal_arquivos/image001.jpg');
</script>]]>
|
1892
| <![CDATA[<script>
$( "img[vshapes='Imagem_x0020_2']" ).attr('src','http://camarapv.sp.gov.br/images/imagesnoticias/96/principal_arquivos/image003.jpg');
</script>]]>
|
1896
| <![CDATA[<script>
$( "img[vshapes='Imagem_x0020_3']" ).attr('src','http://camarapv.sp.gov.br/images/imagesnoticias/96/principal_arquivos/image005.jpg');
</script>]]>
|
1900
| <![CDATA[<script>
$( "img[vshapes='Imagem_x0020_4']" ).attr('src','http://camarapv.sp.gov.br/images/imagesnoticias/96/principal_arquivos/image007.jpg');
</script>]]>
|
1984
| <![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>]]>
|
2130
| <![CDATA[<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
{lang: 'pt-BR'}
</script>]]>
|
2214
| <![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>]]>
|