Bruce,
Thanks for the tip on reviewing the Google Toolkit code. I'm sure that will
be helpful.
It appears that your post showed up just 3 minutes before my own reply to
the group, where I explain how I used the client onload event of the IFRAME
to trigger the JS code that makes the absolutely positioned "Waiting" gif
image invisible. Apparently the event fires when the target site completely
finishes loading into the frame, much like the body onload event.
"bruce barker" <(E-Mail Removed)> wrote in message
news:1EC36FC0-F01B-4FC6-8504-(E-Mail Removed)...
> this won't work very well without some tricky client code. your client
> code
> will have to load the iframe, wait for the gif to load and start running,
> then request the aspx page. review the google toolkit code to see good
> examples of this.
>
> you could switch to an update panel which will allow an animation to
> display
> while loading.
>
>
> -- bruce (sqlwork.com)
>
>
> "John Kotuby" wrote:
>
>> Hi all,
>> I am working with a web designer to display a large ASPX page (actually a
>> 1-page multi-function application) in an IFRAME within a regular HTM
>> style
>> page.
>> The problem we are trying to deal with is that it takes a few seconds to
>> load the remote ASPX page as it is fairly large and does some database
>> queries during it's setup, depending on which "parent" site is calling
>> it.
>> The page uses tables to position elements and the IFRAME resides in a
>> fixed
>> position table cell.
>>
>> Of course I will try to optimize the page, but I suspect there will still
>> be
>> some noticable delay.
>>
>> I am trying to come up with a solution that will display a Please Wait
>> message and an animated gif in the center of the IFRAME when the "parent"
>> page first loads, and then disappears when the IFRAME target finally
>> fills
>> the frame.
>>
>> My first thought is an absolutely positioned DIV that displays
>> approximately
>> in the center of the IFRAME. Then the comes the question of making it
>> disappear.
>>
>> I know of know way that an HTM page can tell when an IFRAME loads...but
>> maybe there is a client event that fires which I am unaware of.
>>
>> The other thought is maybe I can Style the DIV with a low Z-order and the
>> IFRAME with a high Z-Order, but that just may hide the DIV whether the
>> frame
>> target is loaded or not.
>>
>> Any help with this will be greatly appreciated...thanks.
>>
>>
>>
>>
|