Click to See Complete Forum and Search --> : iframe 's loaded


jub7
02-25-2003, 03:34 AM
I am changing iframe.src dynamically, setting to another server's url. It takes some time to process the request. Is there a way to check if the page has fully loaded?

Nicodemas
02-25-2003, 03:37 AM
Only if the page on the other person's server has some sort of code that does it... otherwise no.

Make sure you have the other people's consent to link the frame into their server. It's eating their bandwidth if you don't... and that might make some people angry.

dzzie
02-25-2003, 03:48 AM
you might have access to the onload event if you declared it in your html in the iframe tag...you wont be able to access the page contents...but I bet the onload will fire for you.

IE 5.5 I know will let you receive onload and onerror events from img src tags set to be in a different security zone

you can even use that fact to poll a surfers computer to determine what apps they have installed...I think it works on 6 too..try it out

http://sandsprite.com/CodeStuff/SystemSnoop.html