273
| <![CDATA[<script>
var a2a_config = a2a_config || {};
a2a_config.locale = "pt-BR";
// a2a_config.icon_color = "#48CFAD";
a2a_config.num_services = 12;
</script>]]>
|
288
| <![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>]]>
|
566
| <![CDATA[<script>
function cookies(functions) {
const clientName = 'camarairupi';
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' + clientName));
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' + clientName, 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-139795666-1');
console.log('Função anali..');
}
function simplecookie() {
console.log('Política de Privacidade Autorizada');
}
cookies({
analytics, });
</script>]]>
|