wordlinkz
Aug 21st 2007, 1:17 pm
Hello
Is it possible to show an ajax style indicator when my iframe is getting loaded?
I hope my question is clear
garazy
Aug 31st 2007, 5:37 pm
Hi Wordlinkz,
You should be able to check for variables in the IFRAME being loaded from the parent window. For example, in the IFRAME you could have a onload="loaded()" function which sets a variable isLoaded=true; or something like that.
From the parent window you could have a looping function (use setTimeout) to test for the child isLoaded == true whilst it isn't you could show a loading image ajax style.
Gary
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.