62
| <![CDATA[<script type="text/javascript">
// window.jQuery || document.write("<script src='http://code.jquery.com/jquery-2.1.4.js'>" + "<" + "/script>");
window.jQuery || document.write("<script src='//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib//ace13/assets/js/jquery.min.js'>" + "<" + "/script>");
</script>]]>
|
87
| <![CDATA[<script type="text/javascript">
if ('ontouchstart' in document.documentElement)
document.write("<script src='//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib//ace13/assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
</script>]]>
|
137
| <![CDATA[<script type="text/javascript">
try {
ace.settings.check('navbar', 'fixed')
} catch (e) {}
</script>]]>
|
174
| <![CDATA[<script type="text/javascript">
try {
ace.settings.check('main-container', 'fixed')
} catch (e) {}
</script>]]>
|
183
| <![CDATA[<script type="text/javascript">
try {
ace.settings.check('breadcrumbs', 'fixed')
} catch (e) {}
</script>]]>
|
200
| <![CDATA[<script type="text/javascript">
var settings = {
WEBSIS_LIB_URL: '//siapegov.pindamonhangaba.sp.gov.br/websis/../siap-lib/',
WEBSIS_URL: '//siapegov.pindamonhangaba.sp.gov.br/pmpinda/websis/'
};
function MM_openBrWindow(theURL, winName, larg) {
if ($('#modal').length == 0) {
$('.page-content').append('<div id="modal" class="modal" tabindex="-1" aria-labelledby="myModalLabel" aria-hidden="false"><div id="printSection" class="modal-dialog"><div class="modal-content"><div class="modal-header"><button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button><h3 class="text-center" id="myModalLabel">Prefeitura Municipal de Pindamonhangaba</h3></div><div class="modal-body"></div><div class="modal-footer no-margin hidden-xs hidden-print"><button type="button" class="btn btn-default" data-dismiss="modal">Fechar</button><button class="btn" aria-hidden="true" id="imprimeModal"><i class="fa fa-print"></i> Imprimir</button></div></div></div></div>');
}
spin = '<div class="text-center"><i class="ace-icon fa fa-circle-o-notch fa-spin blue bigger-250"></i></div>';
$('#modal .modal-body').html(spin);
$("#modal ").modal('show');
$.get(theURL, function(conteudo) {
$('#modal .modal-body').html(conteudo);
$("#modal .modal-dialog").css('width', '95%');
}).done(function() {
$("#modal .exportarImprimir").hide();
});
$("#imprimeModal").off();
$("#imprimeModal").on("click", function() {
PrintContent("printSection");
});
}
function PrintContent(div_to_print) {
var css1 = "<link rel='stylesheet' type='text/css' href='" + settings.WEBSIS_LIB_URL + "/ace-template/assets/css/bootstrap.min.css' media='all'>\n";
var css2 = "<link rel='stylesheet' type='text/css' href='" + settings.WEBSIS_LIB_URL + "/ace-template/assets/css/ace.min.css' media='all'>\n";
var css3 = "<link rel='stylesheet' type='text/css' href='" + settings.WEBSIS_URL + "_css/egov/print.css' media='all'>\n";
var css = css1 + css2 + css3;
var DocumentContainer = document.getElementById(div_to_print);
var UniqueName = new Date();
var WindowObject = window.open("", "PrintWindow" + UniqueName.getTime(), "width=750,height=650,top=50,left=50,toolbars=no,scrollbars=yes,status=no,resizable=yes");
WindowObject.document.writeln("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html lang=\"en\">\n<head>\n" + css + "</head>\n<body>\n" + DocumentContainer.innerHTML.replace("", "") + "\n</body>\n</html>");
WindowObject.document.close();
WindowObject.focus();
setTimeout(function() {
WindowObject.print();
setTimeout(function() {
WindowObject.close();
}, 1000);
}, 1000);
}
function doBreadcrumbs(bc) {
iconMenu = bc.find('i.ace-icon').attr('class');
$('#bcArea').text(bc.text());
$('.bcSubArea').hide();
$('.bcTitulo').hide();
if (!iconMenu) { //2 Niveis
iconMenu = bc.parents('ul.submenu').first().prevAll().last().find('i.ace-icon').attr('class');
$('#bcArea').text(bc.parents('ul.submenu').first().prevAll().last().text()).show();
if (!iconMenu) { //3 Niveis
iconMenu = bc.parents('ul.submenu').first().parents('ul.submenu').prevAll().last().find('i.ace-icon').attr('class');
$('#bcArea').show().text(bc.parents('ul.submenu').first().parents('ul.submenu').prevAll().last().text());
$('.bcSubArea').show().text(bc.parents('ul.submenu').first().prevAll().last().text()).show();
}
$('.bcTitulo').show().text(bc.text());
}
$('#bcIcon').removeClass().addClass(iconMenu);
$('#bcIconSm').removeClass().addClass(iconMenu);
}
var atualParent = $('#inicio');
$('a[href="?consulta=../lei_acesso/lai-faq"]').each(function(i, data) {
//Preenche Breadcrumb
doBreadcrumbs($(this));
$(this).parent().addClass('active');
atualParent = $(this).parent();
spin = '<div class="text-center"><i class="ace-icon fa fa-circle-o-notch fa-spin blue bigger-250"></i></div>';
});
$('.sidebar a[href!="#"][target!="_blank"]').each(function(i, data) {
$(this).on('click', function() {
var duration = Math.min(400, Math.max(100, parseInt($('html').scrollTop() / 3)));
$('body').animate({
scrollTop: 0
}, duration * 2);
// Spin
spin = '<div class="text-center"><i class="ace-icon fa fa-circle-o-notch fa-spin blue bigger-250"></i></div>';
$(".page-content").html(spin);
atualParent.removeClass('active');
$(this).parent().addClass('active');
atualParent = $(this).parent();
//Preenche Breadcrumb
doBreadcrumbs($(this));
});
});
</script>]]>
|
424
| <![CDATA[<script type="text/javascript">
$('form input[value="Consultar"],form button[value="Consultar"]').on('click', function(event) { // Carregando Formulario
$box = $(this).parents('.page-content');
$box.addClass('position-relative');
$box.append('<div class="widget-box-overlay"><i class="ace-icon fa fa-gear fa-spin bigger-250 white"></i></div>');
setTimeout(function() {
$(".widget-box-overlay .ace-icon").removeClass("white").addClass("red");
}, 4000);
});
if ($(".date-picker").length > 0) {
$(".date-picker").attr("readonly", "readonly");
} else if ($('.input-daterange input').length > 0) {
$('.input-daterange input').attr("readonly", "readonly");
}
</script>]]>
|
449
| <![CDATA[<script>
new window.VLibras.Widget('https://vlibras.gov.br/app');
</script>]]>
|