[Javascript] Iframe dynamic resize for all browsers

Iframe dynamic resize for all browsers

[code]

<script type=”text/javascript”>
$(document).ready(function()
{
var i = setInterval(function(start){
resize_ifrm();
}, 20, new Date);
$(“#tabs”).tabs();
});
function resize_ifrm(){
$(‘#ifrm_report’, parent.document.body).height($(‘#ifrm_report’, parent.document.body).contents().find(‘body’).height() + 30)
}
</script>

[/code]