30
| <![CDATA[<script>
$(document).ready(function() {
$('[data-toggle="tooltip"]').tooltip()
$('#owl-slider').owlCarousel({
nav: true,
slideSpeed: 300,
paginationSpeed: 400,
singleItem: true,
autoplay: true,
autoplayTimeout: 8000,
loop: true,
navText: [
'<button type="button" class="btn btn-primary"><i class="fa fa-arrow-left" aria-hidden="true"></i></button>',
'<button type="button" class="btn btn-primary"><i class="fa fa-arrow-right" aria-hidden="true"></i></button>'
],
items: 1
});
$('#s-btn').click((e) => {
e.preventDefault();
let value = $('#s-campo').val();
if (value != '') {
window.location.href = 'noticias/' + value;
} else {
$('#empty-form').removeClass('d-none');
}
$(this).blur();
});
$('#form-s').submit(function(e) {
e.preventDefault();
let value = $('#s-campo').val();
if (value != '') {
window.location.href = 'noticias/' + value;
} else {
$('#empty-form').removeClass('d-none');
}
});
});
</script>]]>
|
220
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|
227
| <![CDATA[<script>
document.onkeyup=function(e) {
let link = "";
if(e.which == 49) {
link = "http://www.tacaratu.pe.gov.br"
window.location.href = link;
} else if(e.which == 50) {
link = "http://www.tacaratu.pe.gov.br/noticias"
window.location.href = link;
} else if(e.which == 51) {
link = "https://tacaratu.pe.transparenciamunicipal.online/app/pe/tacaratu/1"
window.location.href = link;
} else if(e.which == 52) {
link = "http://www.tacaratu.pe.gov.br/contato"
window.location.href = link;
}
}
</script>]]>
|
611
| <![CDATA[<script>
$(function() {
$('.btn-group-fab').on('click', '.btn', function() {
window.open('http://www.tacaratu.pe.gov.br/app/chatbot/chat', '_blank', 'location=yes,height=670,width=570,scrollbars=yes,status=yes');
});
$('has-tooltip').tooltip();
});
</script>]]>
|