Try putting your <script> for nocache.js in your <body> instead of <head>

On Wed, Apr 15, 2009 at 11:59 AM, Dominik Steiner <
[email protected]> wrote:

>
> Ok, i must have understand something wrong then, but from the wiki i
> read the last four sequences as following
>
> 9. ...cache.js completes. onModuleLoad() is not called yet, as we're
> still waiting on externalScriptOne.js to complete before the document
> is considered 'ready'.
> 10. externalScriptOne.js completes. The document is ready, so
> onModuleLoad() fires.
> 11. reallyBigImageTwo.jpg completes.
> 12. body.onload() fires, in this case showing an alert() box.
>
> So as described in the wiki the onModuleLoad will fire once the last
> js script is loaded, but before the reallyBigImageTwo is loaded. This
> applies to all normal browsers it seems except IE...
>
> On 15 Apr., 09:52, Vitali Lovich <[email protected]> wrote:
> > if you read it, you'll notice it says that body.onload gets fired after
> all
> > resources are fetched.  this is when onModuleLoad gets fired.  there
> doesn't
> > appear to be anything wrong with that documentation.
> >
> > On Wed, Apr 15, 2009 at 9:13 AM, Dominik Steiner <
> >
> > [email protected]> wrote:
> >
> > > Thanks Salvador for pointing out the interesting link above.
> >
> > > I read through it and I must admit that I found an error in it, namely
> > > exactly my problem on IE7, that the
> >
> > > <img src='reallyBigImageTwo.jpg'></img>
> >
> > > will block on IE7 the firing of the onModuleLoad() event in GWT until
> > > the image has finished loading.
> >
> > > I will post back once I implement a working solution.
> >
> > > Thanks
> >
> > > Dominik
> > > Am 15.04.2009 um 04:08 schrieb Salvador Diaz:
> >
> > > > I think it should be helpful to understand the bootstrap sequence,
> > > > maybe it will inspire you to come up with a better solution and share
> > > > it with us :)
> >
> > >http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_WhenDoMo.
> ..
> >
> > > > Cheers,
> >
> > > > Salvador
> >
> > > > On Apr 14, 6:55 pm, Dominik Steiner <
> [email protected]>
> > > > wrote:
> > > >> Hi,
> >
> > > >> I have a page that contains a lot of images and some of those images
> > > >> take a long time to load (in total like 1 min)
> >
> > > >> I have searched the forum and found this similar post
> >
> > > >>http://groups.google.com/group/Google-Web-Toolkit/browse_thread/
> > > >> threa...
> >
> > > >> but with no concrete solution to the problem, that IE7 will wait
> > > >> until
> > > >> all the images are loaded until it will then load the GWT module.
> >
> > > >> Is there a work around for this so that the gwt module will be
> loaded
> > > >> before the images have finished loading? (using gwt 1.5.3)
> >
> > > >> Thanks
> >
> > > >> Dominik
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to