After thinking about this, if frameReady can't load any specified
scripts it will continue to wait ad infinitum - it waits for the test
function to become available before it finishes. I need to time that
out at some point...
By default frameReady attempts to load jQuery in the target frame
unless you include the {jquery:false} option. It uses a default path
of /js/jquery.js (you need to update that setting inside
jquery.frameReady.js to point at your own environment...". Not
finding that file would cause this problem. I will update frameReady
as soon as I get a chance, but for now updating the jquery path or
telling it not to load would probably solve your problem.
On May 5, 3:11 pm, Daemach <[EMAIL PROTECTED]> wrote:
> I don't see from this code where it might be breaking - can you please
> give me a URL so I can look at this?
>
> BTW, if you add $daemach.debug to your code you can see the loading
> process in the console.
>
> On May 5, 7:11 am, oscar esp <[EMAIL PROTECTED]> wrote:
>
> > I have next code:
>
> > jQuery.blockUI();
> > jQuery(" > 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?