Use qx.io.ImageLoader. seee apiviewer for details. T.
> Ops, there is already an opened bug request in bugzilla :-) > > http://bugzilla.qooxdoo.org/show_bug.cgi?id=3813 > > 2010/9/24 Leandro Santiago <[email protected]>: >> Sorry for "re-live" this post, but I think it's possible to preload >> images in pure-javascript. There are several plugins to frameworks >> like prototype and jquery. >> >> Jquery load plug-in: >> >> http://www.filamentgroup.com/lab/update_automatically_preload_images_from_css_with_jquery/ >> >> I would like to see this feature in qooxdoo :-) >> >> Can I open a bug request at qooxdoo bugzilla? >> >> 2010/9/17 Dietrich Streifert <[email protected]>: >>> >>> I remember that combining all theme and widget images was discussed >>> here before (subject: Combining the icon-sets). >>> >>> Having such a combined image would allow to manually load this image >>> before the app starts up. >>> >>> I have never tried this myself. >>> >>> Regards, >>> Dietrich >>> >>> Am 17.09.2010 12:46, schrieb Jean-Noël Rivasseau: >>>> We got the same problem and are looking for a solution too. We already >>>> thought of what Daniel suggested but this is very ugly. There should >>>> be a Qooxdoo API for preloading stuff >>>> >>>> On Fri, Sep 17, 2010 at 12:26 PM, Daniel >>>> Wagner<[email protected]> wrote: >>>>> Hi Leandro, >>>>> >>>>> there's no "preload images" setting in the framework since it's >>>>> impossible to predict which resources are going to be needed at some >>>>> point during the application's runtime. The only way I can think of >>>>> to >>>>> achieve your goal would be to create an additional instance of each >>>>> type >>>>> of widget you're using, move it out of the viewport and set the >>>>> various >>>>> states like "hovered" manually to trigger the image loading. But >>>>> that's >>>>> a very ugly hack. >>>>> >>>>> >>>>> Regards, >>>>> Daniel >>>>> >>>>> Leandro Santiago schrieb: >>>>>> Hello to all. >>>>>> >>>>>> When I create an application, the itens like images are downloaded >>>>>> only when the web browser need them. The problem happens when the >>>>>> connection isn't so fast: you can see the images loading to former >>>>>> the >>>>>> itens like menus and window decorations. And every new item, a new >>>>>> "loading" and a new requisition to the server. After this, >>>>>> everything >>>>>> stays in the browser cache, but in the first time the load process >>>>>> is >>>>>> visible. >>>>>> >>>>>> My question is: Is possible to load, before show the application, >>>>>> all >>>>>> data itens, a kind of "preload"? >>>>>> >>>>>> ps: sorry for my bad English. I hope you understand me. >>>>>> >>>>>> ------------------------------------------------------------------------------ >>>>>> Start uncovering the many advantages of virtual appliances >>>>>> and start using them to simplify application deployment and >>>>>> accelerate your shift to cloud computing. >>>>>> http://p.sf.net/sfu/novell-sfdev2dev >>>>>> _______________________________________________ >>>>>> qooxdoo-devel mailing list >>>>>> [email protected] >>>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>>>> >>>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Start uncovering the many advantages of virtual appliances >>>>> and start using them to simplify application deployment and >>>>> accelerate your shift to cloud computing. >>>>> http://p.sf.net/sfu/novell-sfdev2dev >>>>> _______________________________________________ >>>>> qooxdoo-devel mailing list >>>>> [email protected] >>>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>>> ------------------------------------------------------------------------------ >>>> Start uncovering the many advantages of virtual appliances >>>> and start using them to simplify application deployment and >>>> accelerate your shift to cloud computing. >>>> http://p.sf.net/sfu/novell-sfdev2dev >>>> _______________________________________________ >>>> qooxdoo-devel mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >>> -- >>> Mit freundlichen Grüßen >>> Dietrich Streifert >>> -- >>> Visionet GmbH >>> Firmensitz: Am Weichselgarten 7, 91058 Erlangen >>> Registergericht: Handelsregister Fürth, HRB 6573 >>> Geschäftsführer: Stefan Lindner >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> http://p.sf.net/sfu/novell-sfdev2dev >>> _______________________________________________ >>> qooxdoo-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel >>> >> > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
