Thanks for your answers.

Ok, i can see the javascript solution, in our case a php backend would
rewrite the html and add unique ids to the divs where the images will
be added and call a JSNI method that will be triggered on gwt module
load and pass the image urls to that method in an array or something.

Any other possible solutions out there?

Thanks for the input.

Dominik

On 14 Apr., 18:16, Vitali Lovich <vlov...@gmail.com> wrote:
> A browser will fetch all resources from a page before executing any
> Javascript.  So move those images into an ImageBundle (you'll get better
> performance too) or use the Image widget (equivalent to the <img> in HTML)
> to add your images using Javascript.
>
> On Tue, Apr 14, 2009 at 7:45 PM, Jeff Chimene <jchim...@gmail.com> wrote:
>
> > On 04/14/2009 04:31 PM, Dominik Steiner wrote:
> > > Thanks Jeff for your response,
>
> > > the problem is that the images are within the html page and the gwt
> > > module is just a component that has to be included into that html
> > > page. So what i would need would be a way that the onModule() method
> > > of that gwt component is triggered without having to wait that the
> > > images from the html host page finish loading.
>
> > > Thanks
>
> > > Dominik
>
> > How about a bootstrap page that displays a "loading..." message,
> > preloads the images, then loads the problem child?
>
> > Do you have /any/ control over the contents of that page? W/O rewriting
> > or encapsulating it, I think you're SOL.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to