well if ur gonna load everything in one go, not staged, then you could put all your artwork in a single JSON file, like so:
myNameSpace.myArtwork = [ 'http://somehost.com/art/1.jpg', 'http://somehost.com/art/2.jpg' ]; in the html you're sending, you might want to put a 'loading div', and on the elements that use the described artwork a style='display:none;' or style='visibility:hidden'; display:none if you're going to .fadeIn() Then in document.ready() position the 'loading div' to the full/middle-of-the page. Use jQuery preload plugin to load that artwork, and hook that preloader to a progressbar plugin. After your artwork has loaded, display the real page and it's artwork. http://flesler.blogspot.com/2008/01/jquerypreload.html http://t.wits.sg/2008/06/20/jquery-progress-bar-11/ good luck.. David Wu wrote: > a whole page. > > On Tue, Nov 4, 2008 at 7:10 PM, Rene Veerman <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > David .Wu wrote: > > Is it possible to calculate the loading from the page and show the > > truly progress. > > > > > it's possible, although not easy. > depends on what you're loading.. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" 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/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---
