73
| <![CDATA[<script>
function abreiframe(id)
{
document.getElementById('divframe').src = '';
document.getElementById('divframe').src = id;
$("#vaiframe").fadeIn('fast');
scrollToElement('#vaiframe');
}
function scrollToElement(selector, time, verticalOffset) {
time = typeof (time) != 'undefined' ? time : 500;
verticalOffset = typeof (verticalOffset) != 'undefined' ? verticalOffset : 0;
element = $(selector);
offset = element.offset();
offsetTop = offset.top + verticalOffset;
$('html, body').animate({
scrollTop: offsetTop
}, time);
}
</script>]]>
|
103
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|
322
| <![CDATA[<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({ pageLanguage: 'pt', includedLanguages: 'en,es,pt', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false }, 'google_translate_element');
}
</script>]]>
|
365
| <![CDATA[<script>(function(){var s = document.createElement("script");s.setAttribute("data-account","uCB9MLIkGu");s.setAttribute("src","https://cdn.userway.org/widget.js");document.body.appendChild(s);})();</script>]]>
|
836
| <![CDATA[<script>
// flexslider-2 - galeria de fotos
// The slider being synced must be initialized first
$('#carousel').flexslider({
animation: "slide",
controlNav: false,
directionNav: false,
animationLoop: false,
slideshow: false,
prevText:'',
nextText:'',
itemWidth: 100,
asNavFor: '#slider'
});
$('#slider').flexslider({
animation: "slide",
controlNav: false,
animationLoop: false,
animationSpeed: 1000,
prevText:'',
nextText:'',
slideshow: false,
sync: "#carousel"
});
</script>]]>
|
864
| <![CDATA[<script>
const transformarTextoVoz = document.getElementById("lerTexto");
const constcampoTexto = document.getElementById("campoTexto");
var mensagem = new SpeechSynthesisUtterance();
var vozes = speechSynthesis.getVoices();
mensagem.text = constcampoTexto.innerText.replace("Descrição:","");
mensagem.voice = vozes[2];
mensagem.lang = "pt-BR";
mensagem.volume = 1;
mensagem.rate = 1;
mensagem.pitch = 0;
transformarTextoVoz.addEventListener("click", ()=>{
lerTexto();
});
function lerTexto(){
if(transformarTextoVoz.innerText=="Ouvir!")
{
speechSynthesis.speak(mensagem);
transformarTextoVoz.innerText="Parar..."
}
else
{
speechSynthesis.cancel();
transformarTextoVoz.innerText="Ouvir!"
}
}
</script>]]>
|