the downside of that approach is that the loading screen will also remain in the history stack, so to return to the previous screen, you will have to go back twice as it will first return to "Loading...". you will want to hack it so that you slide in the loading screen without using the conventional approach of changing the history hash to display content.
this functionality sort of exists in WebApp.net - if you have not yet looked at this framework and are doing iPhone webapp development, you should. in the demo app, you will see that the panel for selecting a radio option (off the form demo panel) uses a technique to display content without changing the URL location hash. although this is not directly exposed, you should be able to "hold" your own panels in place using a similar technique. alternatively, you could consider putting your "loading..." message on the original panel (in a hidden div at the top of the page). clicking the link displays the loading message first, before continuing with loading and displaying the content. HTH, /dave On Jun 13, 3:13 am, Michael Kaye <[EMAIL PROTECTED]> wrote: > I don't know IUI so I'm not sure how IUI loads the next view but one > thing you could try is to set your link to goto to "loading view" but > also pass a secondary argument like a redirect. Once this view has > loaded, it should call the redirect...this way the loading view will > remain on screen until the data is returned... > > Does this make some sense? > > On 13 Jun 2008, at 07:19, Al wrote: > > > > > Hello, > > I'm using the standard iui.js in my web app. What's the best way to > > insert a "Loading..." type dynamic logo on an iphone webapp when I > > click on a link from the home page? My next page takes a few seconds > > to load, and besides the small spinning logo on the right edge of the > > home page's hyperlink.. I'd like to put some larger message and > > dynamic spinning logo on the screen upon click.. then when ready, > > continue loading the page requested in my main screen's <a href... > > request. > > > thanks, > > Al --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" 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/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
