Hi all.
I'm facing the common problem of waiting for a frame to load. The url loaded in the frame is external, so no chance to use the onLoad event of the second frame.
I've been searching for sollutions in this forum and in the outer dark space and I must admit I'm a little dissapointed.
What I've found is the sollution is just entering a loop with some delay and check if the frame is loaded examining the content of the frame.
So I have two questions:
1.- Is there a more elegant way that I was not able to find, any event, any way to add a listener or maybe a wizard's spell?
2.- If not, which would be the best way to check, the end of body tag, if the location type is still undefined, maybe if the sky is blue?
I should remark that my objective is not showing the page to the user but have it cached by the browser.
Thank you.
Dian
I'm facing the common problem of waiting for a frame to load. The url loaded in the frame is external, so no chance to use the onLoad event of the second frame.
I've been searching for sollutions in this forum and in the outer dark space and I must admit I'm a little dissapointed.
What I've found is the sollution is just entering a loop with some delay and check if the frame is loaded examining the content of the frame.
So I have two questions:
1.- Is there a more elegant way that I was not able to find, any event, any way to add a listener or maybe a wizard's spell?
2.- If not, which would be the best way to check, the end of body tag, if the location type is still undefined, maybe if the sky is blue?
I should remark that my objective is not showing the page to the user but have it cached by the browser.
Thank you.
Dian