241
| <![CDATA[<script type="text/javascript">
$(function(){
$('a[rel=group]').fancybox();
$("a[rel^='prettyPhoto']").prettyPhoto({theme:'light_rounded', social_tools:'<a target="_blank" download href="#" class="download_image left btn btn-xs btn-default"><span class="glyphicon glyphicon-download-alt"></span> Download</a>'});
$('body').on('click', '.download_image', function(){
//window.open($('#fullResImage').attr('src'), '_blank');
var foto_download = $('#fullResImage').attr('src');
$(this).attr('href', foto_download);
});
});
</script>]]>
|
336
| <![CDATA[<script>
var html = document.getElementsByTagName('html')[0];
html.style.cssText = 'CSS_ROOT';
$(document).ready(function() {
var html = document.getElementsByTagName('html')[0];
html.style.cssText = 'CSS_ROOT';
$("#bloco-menu .navbar-nav button").click(function() {
$('.inputJS').toggle('show');
});
});
$(function() {
$('#Buscar').submit(function() {
var valor = $("input:text").val();
if (valor !== '' && valor !== undefined) {
location.href = "https://www.camarasooretama.es.gov.br/busca/?q=" + valor;
}
return false;
});
});
</script>]]>
|
362
| <![CDATA[<script>
$(document).ready(function() {
(function() {
var Contrast = {
storage: 'contrastState',
cssClass: 'contrast',
currentState: null,
check: checkContrast,
getState: getContrastState,
setState: setContrastState,
toogle: toogleContrast,
updateView: updateViewContrast
};
window.toggleContrast = function() {
Contrast.toogle();
};
Contrast.check();
function checkContrast() {
this.updateView();
}
function getContrastState() {
return localStorage.getItem(this.storage) === 'true';
}
function setContrastState(state) {
localStorage.setItem(this.storage, '' + state);
this.currentState = state;
this.updateView();
}
function updateViewContrast() {
var body = document.body;
if (!body) return;
if (this.currentState === null)
this.currentState = this.getState();
if (this.currentState)
body.classList.add(this.cssClass);
else
body.classList.remove(this.cssClass);
}
function toogleContrast() {
this.setState(!this.currentState);
}
})();
});
</script>]]>
|
420
| <![CDATA[<script>
function cookies(functions) {
const container = document.querySelector('.cookies-container');
const save = document.querySelector('.cookies-save');
if (!container || !save) return null;
const localPref = JSON.parse(window.localStorage.getItem('cookies-pref'));
if (localPref) activateFunctions(localPref);
function getFormPref() {
return [...document.querySelectorAll('[data-function]')]
.filter((el) => el.checked)
.map((el) => el.getAttribute('data-function'));
}
function activateFunctions(pref) {
pref.forEach((f) => functions[f]());
container.style.display = 'none';
window.localStorage.setItem('cookies-pref', JSON.stringify(pref));
}
function handleSave() {
const pref = getFormPref();
activateFunctions(pref);
}
save.addEventListener('click', handleSave);
}
function analytics() {
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-141753069-1');
console.log('Função anali..');
}
function simplecookie() {
console.log('Política de Privacidade Autorizada');
}
</script>]]>
|
496
| <![CDATA[<script>
cookies({
analytics, });
</script>]]>
|
509
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|