J
John Kotuby
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.
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.