25 Apr 2009 8:03 PM #1
Can anyone tell me or point me in the direction of an example of how the page loading is done on the EXT JS samples page? http://extjs.com/deploy/dev/examples/samples.html
I have a large app that takes a few seconds to load on slower connections, I want to be able to give users some feedback on what is going on.
25 Apr 2009 11:28 PM #2
- Join Date
- Mar 2007
- Notts/Redwood City
- Vote Rating
Put the loading indicator in the page as hardcoded HTML.
Put the scripts at the bottom of the body.
This way the page begins rendering before loading the scripts and you get to see the loading indicator.
In your onReady function, just before you create the Viewport, delete the loading indicator.Search the forum: http://www.google.com/coop/cse?cx=01...%3Az7of1ufqccu
Read the docs too: http://extjs.com/deploy/dev/docs/
26 Apr 2009 4:00 PM #3
What stops you from viewing the source?
29 Apr 2009 3:15 PM #4