57
| <![CDATA[<img id="banner_fundo0" src="http://guanambi.ba.gov.br/arquivos/capa/103843201726101.jpg" class="img-back " style="position:absolute" alt="Imagem de fundo">]]>
|
60
| <![CDATA[<div class="d-opaticy" style="background-image: url('http://guanambi.ba.gov.br/files/img/binding-light.png')"></div>]]>
|
1307
| <![CDATA[<span class="titulo_principal" style="float:left;">Quadro funcional </span>]]>
|
1308
| <![CDATA[<span id="lastDate" class="titulo_principal" style="float:right;display:none"></span>]]>
|
1319
| <![CDATA[<iframe onload=" hideLoading();" style="height: 580px" id="iframe_transparencia" class="iframe_transparencia"
src="http://guanambi.ba.gov.br//"></iframe>]]>
|
645
| <![CDATA[<label onclick="showAllFilters()"
class="d-pointer">Filtrar</label>]]>
|
730
| <![CDATA[<a href="#" title="Todos os serviços" onclick="showMenu(true)">Todos os serviços</a>]]>
|
734
| <![CDATA[<div id="d-accessibility" title="Abrir menu acessibilidade" onclick="accessibilityModal()">
<img src="http://guanambi.ba.gov.br/files/img/acessibilidade.png" alt="Acessibilidade logo" title="Acessibilidade">
<h1>Acessibilidade</h1>
</div>]]>
|
739
| <![CDATA[<span id="d-modal-close-accessibility" class="fas fa-times-circle" onclick="accessibilityModal()"></span>]]>
|
762
| <![CDATA[<div class="d-icon-comment btn-green" onclick="showContactModal()" title="Fale com a Prefeitura">
<img src="http://guanambi.ba.gov.br/files/img/batpapo.png" alt="bat-papo">
</div>]]>
|
768
| <![CDATA[<span id="d-modal-close" class="fas fa-times-circle" onclick="showContactModal()"></span>]]>
|
869
| <![CDATA[<script>
$(document).ready(function () {
$('#nav-icon4').click(function () {
$(this).toggleClass('open');
let fclass = $(this).attr("class");
if (fclass === "open") {
showMenu(false);
} else {
$(".d-actions-items").show();
$(".d-m-h").css("display", "none").addClass("d-hide");
$("#d-container").css("height", "100vh");
}
$("#d-container.d-diversos").height($("#d-menu").height());
$("#d-container").css('min-height', (parseInt($(".d-menu-helper").height())+150)+'px' );
$("#d-container.d-diversos").css('min-height', (parseInt($(".d-menu-helper").height())+100)+'px' );
});
$("body .uwy.userway_p1 .uai").css("right", "0");
sessionStorage.setItem("img-back", 0);
});
function slidShow(){
let img_atual = parseInt(sessionStorage.getItem("img-back"));
img_atual++;
if(img_atual >= $(".img-back").length){
img_atual = 0;
}
$(".img-back").addClass("d-hide");
$("#banner_fundo"+img_atual).removeClass("d-hide");
sessionStorage.setItem("img-back", img_atual);
}
function showContactModal() {
if ($("#d-modal-comment").css("display") == "none") {
$(".d-icon-comment").removeClass("btn-green").addClass("btn-grey");
$("#d-modal-comment").css("display", "flex");
}else{
$(".d-icon-comment").addClass("btn-green").removeClass("btn-grey");
$("#d-modal-comment").css("display", "none");
}
}
function showMenu(toogle = false) {
if (toogle) {
$('#nav-icon4').toggleClass('open');
}
$(".d-actions-items").hide();
$(".d-m-h").css("display", "flex").removeClass("d-hide");
$("#d-container").css("height", "auto");
}
function removeAcento(text)
{
text = text.toLowerCase();
text = text.replace(new RegExp('[ÁÀÂÃ]','gi'), 'a');
text = text.replace(new RegExp('[ÉÈÊ]','gi'), 'e');
text = text.replace(new RegExp('[ÍÌÎ]','gi'), 'i');
text = text.replace(new RegExp('[ÓÒÔÕ]','gi'), 'o');
text = text.replace(new RegExp('[ÚÙÛ]','gi'), 'u');
text = text.replace(new RegExp('[Ç]','gi'), 'c');
return text;
}
function setFilter() {
let filter = $("#filter").val();
//Oculta e mostra as linhas
$(".d-swap ul li .d-swap-itens li a").each(function () {
let source = ($(this).data("source"));
let target = $(this).parent("li");
if (removeAcento(source).toLowerCase().search(removeAcento(filter).toLowerCase()) == -1) {
target.css("display", "none");
} else {
target.css("display", "block");
}
});
//Oculta e mostra os h2
for (let index = 1; index <= $(".d-swap ul li .d-swap-itens").length; index++) {
let hide = true;
$(".d-swap ul li #dsi-" + index + " li").each(function () {
if ($(this).css("display") != "none") {
hide = false;
}
});
if (hide) {
$(".d-swap ul li #dsi-" + index).parent().css("display", "none");
} else {
$(".d-swap ul li #dsi-" + index).parent().css("display", "block");
}
}
//Oculta e mostra os h1
for (let index = 0; index < $(".d-swap").length; index++) {
let hide = true;
for (let sub = 1; sub <= $(".d-swap ul li .d-swap-itens").length; sub++) {
$("#ds-"+index+" ul li #dsi-" + sub + " li").each(function () {
if ($(this).css("display") != "none") {
hide = false;
}
});
}
if (hide) {
$("#ds-"+index+" h1").css("display", "none");
} else {
$("#ds-"+index+" h1").css("display", "block");
}
}
}
function showAllFilters() {
if ($("#d-all-filters").css("display") === "none") {
$("#d-all-filters").css("display", "flex");
} else {
$("#d-all-filters").css("display", "none");
}
}
$("#enviar").click(function(event){
const form = "#contact-form-top ";
event.preventDefault();
let errors = "";
if($(form+" #nome").val() == ""){
errors += '* O <b>Nome</b> não pode ficar em branco <br>';
}
if($(form+" #telefone1").val() == ""){
errors += '* O <b>Telefone 1</b> não pode ficar em branco <br>';
}
if($(form+" #email").val() == ""){
errors += '* O <b>E-mail</b> não pode ficar em branco <br>';
}
if($(form+" #assunto").val() == ""){
errors += '* O <b>Assunto</b> não pode ficar em branco <br>';
}
if($(form+" #mensagem").val() == ""){
errors += '* O <b>Mensagem</b> não pode ficar em branco <br>';
}
if(errors.length > 0){
Swal.fire({
icon: 'error',
title: 'Encontramos os seguinte(s) erro(s)',
html: errors,
});
}else{
$("#contact-form-top").submit();
}
});
</script>]]>
|
1322
| <![CDATA[<script>
window.addEventListener('message', function (event) {
if (event.data.viz == "LastDateTime") {
var data = event.data;
let lastDate = (data.ultimaData).split('-');
document.getElementById('lastDate').innerHTML = "Última Atualização: "+lastDate[2]+ '/'+lastDate[1]+'/'+lastDate[0]+" às "+data.ultimaHora;
if((lastDate.length > 1) && (typeof lastDate[2] !== "undefined")){
document.getElementById('lastDate').style.display= 'block';
}else{
document.getElementById('lastDate').style.display= 'none';
}
}
}, false);
window.addEventListener('message', function (event) {
if (event.data.viz == "scrollTop") {
$('html, body').animate({scrollTop: ($('#transparencia').offset().top) - 100}, 'slow');
}
}, false);
function hideLoading() {
document.getElementById('divLoading').style.display = "none";
document.getElementById('iframe_transparencia').style.display = "block";
}
setAlturaFrame();
function setAlturaFrame(){
window.addEventListener('message', function (event) {
if(event.data.location == document.getElementById("iframe_transparencia").contentWindow.location.href){
document.getElementById('iframe_transparencia').style.height = event.data.largura+'px';
}
}, false);
}
window.setInterval("setAlturaFrame()", 2000);
</script>]]>
|
1364
| <![CDATA[<script>
$(document).ready(function(){
$("#d-container.d-diversos").height($("#d-menu").height());
});
window.addEventListener('resize', function() {
$("#d-container.d-diversos").height($("#d-menu").height());
});
</script>]]>
|
1430
| <![CDATA[<script>
$( document ).ready(function() {
$('#vLibras').append("<div vw class='enabled'><div vw-access-button class='active'></div><div vw-plugin-wrapper><div class='vw-plugin-top-wrapper'></div></div></div>");
new window.VLibras.Widget('https://vlibras.gov.br/app');
});
</script>]]>
|
1439
| <![CDATA[<script>
function disabledMessFooter(){
$("#messager-footer").addClass("d-hide");
sessionStorage.setItem("messager-footer", "false");
}
var id = new Object();
id = ["#navega h2/9/19", "#navega a/9/19", "#navega li/9/19", "#pagina_lei p/13/23", "#pagina_lei li/9/19", "#transparencia span/8/18", "#transparencia h1/20/30", "#transparencia h2/25/35", "#transparencia a/9/19", "#secretarias a/12/21"];
var swiper = new Swiper('#topo', {
// pagination: '.swiper-pagination',
nextButton: '.swiper-button-next',
prevButton: '.swiper-button-prev',
paginationClickable: true,
// Disable preloading of all images
preloadImages: true,
// Enable lazy loading
lazyLoading: true,
centeredSlides: true,
direction: 'horizontal',
autoplay: 5000,
autoplayDisableOnInteraction: false
});
</script>]]>
|
1468
| <![CDATA[<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-PC0YMJZK4D');
</script>]]>
|
1476
| <![CDATA[<script>
var link = document.createElement('meta');
link.setAttribute('property', 'og:url');
link.content = document.location;
document.getElementsByTagName('head')[0].appendChild(link);
</script>]]>
|