I have next code: jQuery.blockUI(); jQuery("<iframe id='applicationIframe' onload='' src='"+url+"' marginwidth='1' marginheight='1' height='100%' width='100%' scrolling='no' border='0' frameborder='0' / >").appendTo("#aplicacion");
jQuery.frameReady(function(){ var a=1;},"top.applicationIframe",function() { autoresizeIFrame();jQuery.unblockUI() }); Where autoresizeIFrame: function autoresizeIFrame() { var the_height= document.getElementById('applicationIframe').contentWindow.document.body.scrollHeight; document.getElementById('applicationIframe').height= the_height; } Some times after load iframe , the function code (autoresize & unBlock is not executed...) any idea? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery (English)" group. To post to this group, send email to jquery-en@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/jquery-en?hl=en -~----------~----~----~----~------~----~------~--~---