27
| <![CDATA[<script language="javascript">
function imprimir_(){
var tamHA = 0;
if($("#conteudo_historico").length){
tamHA = document.getElementById("conteudo_historico").offsetLeft;
}
funcao="imprimir.action?visao=anotado&idAto=" + "101964" + "&tamHA="+tamHA;
window.open(funcao,'page','toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=no,width=658,height=800');
}
$(document).ready(function(){
$(".anexo").removeClass("divSegmentos");
});
</script>]]>
|
156
| <![CDATA[<script>
function showHideDestino(nome) {
var teste = document.getElementById(nome);
if(teste.style.display == 'none')
teste.style.display='';
else teste.style.display='none';
}
function showHideOrigem(nome) {
var teste = document.getElementById(nome);
if(teste.style.display == 'none')
teste.style.display='';
else teste.style.display='none';
}
$(document).ready(function(){
$('.historico_ato').click(function() {
$(this).find('i').toggleClass('ativo inativo');
$('#conteudo_historico').toggle();
});
});
$(document).ready(function(){
$('.epigrafeSpan').hover(function(e) {
e.preventDefault();
$('#historicoEpigrafe').css( 'position', 'absolute' );
$('#historicoEpigrafe').css( 'top', e.pageY-10 );
$('#historicoEpigrafe').css( 'left', e.pageX );
$("#historicoEpigrafe").show();
});
$('.epigrafeSpan')
.mouseleave(function() {
$("#historicoEpigrafe").hide();
});
});
</script>]]>
|
806
| <![CDATA[<script language="javascript">
function verticalScrollPresent() {
return (document.documentElement.scrollHeight !== document.documentElement.clientHeight);
}
function footerAlign() {
$('html').css('height', bodyHeight+80);
$('.div_rodape').css('display', 'block');
$('.div_rodape').css('height', 'auto');
$('.div_rodape').css('width', '100%');
if (verticalScrollPresent()) {
$('.div_rodape').css('position', 'relative');
} else {
$('.div_rodape').css('position', 'absolute');
}
$('.div_rodape').css('bottom', '0');
var footerHeight = 80;
$('.div_rodape').css('height', footerHeight);
}
var bodyHeight = $('html').outerHeight();
$( window ).resize(function() {
footerAlign();
});
$(window).on('scroll', function() {
footerAlign();
});
bodyHeight = $('html').outerHeight();
footerAlign();
</script>]]>
|