I'm currently working on a feature to maximize my popup, specifically an iframe. Here is the JQuery code I am using for this functionality:
$(document).ready(function(){
$('#"+btnMaximiza.Id+"').click(function(){
$('#"+btnMaximiza.Id+"').hide();
$('#"+btnMinimiza.Id+"').show();
$('.os-internal-Popup', window.parent.document).attr('style', 'top: 0px!important');
$('.os-internal-Popup', window.parent.document).css('left','0px');
$('.os-internal-Popup', window.parent.document).css('z-index','5000');
$('.os-internal-Popup', window.parent.document).width('100%');
$('.os-internal-Popup', window.parent.document).height('100%');
});
});
The issue I am facing is that the height of the popup does not expand to cover 100% of the page. This can be seen in the image below: