from what you write, it seems you haven't looked at Progressive close
enough.
t.
skar wrote:
thron7 wrote:
check the archives:
http://old.nabble.com/forum/Search.jtp?query=progress+bar&sort=date&local=y&forum=3822
Thanks for the hint :) However it all deals with either a progress bar
widget, or a progressive loader for table etc. I want to show a progress
text or if possible graphically to indicate how much of the app remains
to be loaded into the browser like gmail does.
I've possibly found a way by getting the content length of the main
app's js using a head xhr and then getting the main js via xhr and
injecting it. While getting the js via xhr, the onreadystatechange call
back can be used to get the length of the responseText till then. Only
part I haven't tested is injecting the response as a script tag to the
head node. But I guess that should be possible.
Of course, this leaves other resources like css/images etc qooxdoo main
js will load, but those take negligible time compared to the gzipped
minified 300 or so KB the main js takes :)
cheers,
skar.
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel