20
| <![CDATA[<script type="application/json" class="joomla-script-options new">{"csrf.token":"dc1fa57d3e44c215a67d9a9cdc0129eb","system.paths":{"root":"","base":""}}</script>]]>
|
30
| <![CDATA[<script type="text/javascript">
jQuery(window).on('load', function() {
new JCaption('img.caption');
});
jQuery(function($) {
$('.hasTip').each(function() {
var title = $(this).attr('title');
if (title) {
var parts = title.split('::', 2);
var mtelement = document.id(this);
mtelement.store('tip:title', parts[0]);
mtelement.store('tip:text', parts[1]);
}
});
var JTooltips = new Tips($('.hasTip').get(), {"maxTitleChars": 50,"fixed": false});
});
</script>]]>
|
99
| <![CDATA[<script>
jQuery(document).ready(function( $ ){
/*===================================================================
* jBility uses JsCookie to manager cookies.
* JsCookie is available on: https://github.com/urielcaire/jscookie
*====================================================================*/
function createCookie(name, value, days){
var expires = "";
if(days){
var time = new Date();
time.setTime(time.getTime()+(days*24*60*60*1000));
}
document.cookie = name+"="+value+expires+"; path=/";
}
function getCookie(name){
var nameEQ = name + "=";
var ca = document.cookie.split(';');
for(var i=0;i < ca.length;i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return "";
}
function deleteCookie(name) {
createCookie(name,"",-1);
}
function checkCookie(name){
var check = getCookie(name);
if(check != "")
return true;
return false;
}
/*======================================
* jBility functions
*======================================*/
function addConstrast(){
console.log('addConstrast');
$('*').addClass('pagina-acessivel');
$('.acess-container').addClass('f-transparent');
$('#botao').addClass('f-transparent');
$('#acess-icons').addClass('f-transparent');
$('.acess-icon').addClass('f-transparent');
$('img').addClass('f-transparent');
$('#jbbutton').addClass('f-transparent');
}
function removeConstrast(){
console.log('removeConstrast');
$('*').removeClass('pagina-acessivel');
$('.acess-container').removeClass('f-transparent');
$('#botao').removeClass('f-transparent');
$('#acess-icons').removeClass('f-transparent');
$('.acess-icon').removeClass('f-transparent');
$('img').removeClass('f-transparent');
$('#jbbutton').removeClass('f-transparent');
}
if(checkCookie('ccontrast')){
addConstrast();
}
$('#contrast').click(function(){
var ck = checkCookie('ccontrast');
if(ck){
deleteCookie('ccontrast');
removeConstrast();
}else{
createCookie('ccontrast', 'cookieContrast');
addConstrast();
}
});
var $cElements = jQuery("body").find("*");
var fonts = [];
function getFontSize() {
for (var i = 0; i < $cElements.length; i++) {
fonts.push(parseFloat($cElements.eq(i).css('font-size')));
}
}
getFontSize();
$("#increaseFont").on('click', function() {
for (var i = 0; i < $cElements.length; i++) {
++fonts[i];
$cElements.eq(i).css('font-size', fonts[i]);
}
});
$("#decreaseFont").on('click', function() {
for (var i = 0; i < $cElements.length; i++) {
--fonts[i];
$cElements.eq(i).css('font-size', fonts[i]);
}
});
$('#jbbutton').click(function(){
$('#acess-icons').toggle(150);
});
});
</script>]]>
|
277
| <![CDATA[<script>
new window.VLibras.Widget("https://vlibras.gov.br/app");
</script>]]>
|