42
| <![CDATA[<script>
function onClick(e) {
e.preventDefault();
grecaptcha.ready(function () {
grecaptcha.execute('6Lee2SUlAAAAAC7HiNFXX8r29cmEnWV9fkubBvNU', {action: 'submit'}).then(function (token) {
// Add your logic to submit to your backend server here.
});
});
}
</script>]]>
|
57
| <![CDATA[<script>
window.onscroll = function () {
var top = window.pageYOffset || document.documentElement.scrollTop
if (top > 0) {
var x = document.getElementById("backtopbot");
x.style.opacity = "1";
x.style.visibility = "visible";
} else {
var x = document.getElementById("backtopbot");
x.style.opacity = "0";
x.style.visibility = "hidden";
}
};
</script>]]>
|
154
| <![CDATA[<script>
const alternarContraste = () => {
const body = document.body;
if (body.classList.contains('_contraste')) {
body.classList.remove('_contraste');
}else {
body.classList.add('_contraste');
}
}
</script>]]>
|
166
| <![CDATA[<script>
let elemento = $("*");
let header = $("#titulo_link");
let tamanho_header = parseFloat(header.css('font-size'));
const aumentarfont = () => {
elemento.css('font-size', obterTamnhoFonte() + 1);
header.css('font-size', tamanho_header + 1);
}
const diminuirfont = () => {
elemento.css('font-size', obterTamnhoFonte() - 1);
header.css('font-size', tamanho_header - 1);
}
const obterTamnhoFonte = () => {
const font = $("*");
return parseFloat(font.css('font-size'));
}
</script>]]>
|
195
| <![CDATA[<script type="text/javascript">
jQuery(document).ready(function ($) {
$(".scroll").click(function (event) {
event.preventDefault();
$('html,body').animate({scrollTop: $(this.hash).offset().top}, 600);
});
//var zi = document.getElementsByClassName("bot3");
//var ii;
// for (ii = 0; ii < zi.length; ii++) {
// zi[ii].style.background = "transparent";
// }
});
</script>]]>
|
331
| <![CDATA[<script>
jQuery('#news-demo').slippry({
// general elements & wrapper
slippryWrapper: '<div class="sy-box news-slider" />', // wrapper to wrap everything, including pager
elements: 'article', // elments cointaining slide content
// options
adaptiveHeight: false, // height of the sliders adapts to current
captions: false,
// pager
pagerClass: 'news-pager',
// transitions
transition: 'horizontal', // fade, horizontal, kenburns, false
speed: 1200,
pause: 6000,
// slideshow
autoDirection: 'next'
});
</script>]]>
|
855
| <![CDATA[<script>
function cookie_set() {
var ele = document.getElementById("banner-id");
ele.style.display = "none";
$.ajax({
url: "https://www.imbel.gov.br/cookie_set",
type: "post",
dataType: 'json',
data: {
"date": "2023-10-04 06:38:55"
}
});
}
</script>]]>
|