![]() |
|
|
+ Search |
![]()
|
Apr 6th, 2008 20:02
ha mo, Steven Armstrong, Mark Ever,
There's an easy way to do this in JavaScript.
iframe code:
loaded = false;
onload = function() { loaded = true };
main page code:
function fnDoSomething()
{
if (!document.frames['iframename'].loaded)
{
setTimeout('fnDoSomething()',100);
return;
}
// here you put the rest of your code
}
HTH,
regards
Steven
http://www.businessian.com
http://www.computerstan.com
http://www.financestan.com
http://www.healthstan.com
http://www.internetstan.com
http://www.moneyenews.com
http://www.technologystan.com
http://www.zobab.com
http://www.healthinhealth.com