82
| <![CDATA[<script>
$(function(){
var linkar = 'https://egov.pmspa.rj.gov.br/adm/form.jsp?sys=PRO&action=openform&formID=7175';
var reltarget = 'S';
if (reltarget == 'S'){
window.open(linkar, '_self');
return false;
}
var relw = '1070';
var relh = '680';
var titulo = 'Protocolo';
$("#myIframe").attr('src','');
$("#myIframe21").attr('src','');
$("#myModal21").modal({
backdrop: 'static'
});
$('#myModal21').on('shown.bs.modal', function () {
$(this).find('.modal-dialog').css({
width:relw, //probably not needed
height:relh, //probably not needed
});
$(this).find('.modal-body').css({
padding : '0',
margin : '5px',
height: relh
});
$(this).find('h4').css({
padding : '0',
margin : '0'
});
$(this).find('iframe').css({
height: relh
});
$(this).find('.modal-header h4').html(titulo);
$("#myIframe21").attr('src',linkar);
$("#myIframe21").on('load', function(){
if (this.contentWindows.location != linkar){
$(this).hide();
}
});
});
//$.colorbox({iframe:true, href:'', width:"", height:"", title:""});
});
function AbreJanela(html, largura, altura){
w = screen.width;
h = screen.height;
meio_w = w/2;
meio_h = h/2;
altura2 = altura/2;
largura2 = largura/2;
meio1 = meio_h-altura2;
meio2 = meio_w-largura2;
window.open(html,"nova_janela","toolbar=no,location=no,location=0,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width="+largura+",height="+altura+", top="+meio1+", left="+meio2+"");void(0);
} </script>]]>
|
656
| <![CDATA[<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-47109411-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>]]>
|
669
| <![CDATA[<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-47109411-1', 'rj.gov.br');
ga('send', 'pageview');
</script>]]>
|
685
| <![CDATA[<script type="text/javascript">
$(function () {
$('html').on('mouseup', function(e) {
if(!$(e.target).closest('.popover').length) {
$('.popover').each(function(){
$(this.previousSibling).popover('hide');
});
}
});
$('body').on('click', function (e) {
$('[data-toggle="popover"]').each(function () {
if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.popover').has(e.target).length === 0) {
$(this).popover('hide');
}
});
});
$('[rel="tooltip"]').tooltip({trigger:'hover' }).click(function(e) {
jQuery(document).one("click", function() {
$('.iframe_interna').popover('hide');
$('.iframe_interna').tooltip('hide');
});
});
$(".ModalIframe").click(function(){
var linkar = $(this).attr('rellink');
var relw = $(this).attr('rew');
var relh = $(this).attr('reh');
var titulo = $(this).attr('ret');
$("#myIframe").attr('src','');
$("#myIframe21").attr('src','');
$("#myModalIframe").modal({
backdrop: 'static'
});
$('#myModalIframe').on('shown.bs.modal', function () {
$(this).find('.modal-dialog').css({
width:relw, //probably not needed
height:relh, //probably not needed
});
$(this).find('.modal-body').css({
padding : '0',
margin : '5px',
height: relh
});
$(this).find('h4').css({
padding : '0',
margin : '0'
});
$(this).find('iframe').css({
height: relh
});
$(this).find('.modal-header h4').html(titulo);
$("#myIframe").attr('src',linkar);
});
}); //fim modalbusca
});
</script>]]>
|