Forum Moderators: open
Please advice.
C
If this doesn't help, the computer is probably choking on loading the iframes, not on checking to see if they're loaded.
iframe1 = false
iframe2 = false
iframe3 = false
etc. Then each iframe sets it's variable to true when it loads. For example iframe number 42 has the following:
onLoad="top.iframe42=true" My function sitting at top level checks all the variables like this:
function myFunction() {
if ( iframe1 && iframe2 && iframe3 ... etc ) {
// do something here
}
setTimeout("myFunction()", 2000)
} And I call my function just once from the onload in my top level document like this:
onLoad="myFunction()" HTH