PDA

View Full Version : loaded?


Garadon
01-26-2003, 10:43 PM
rigth my question is as follows:
Is there any way to notify one page in a framesetup about when the file in another page in the frameset has done loading,only having code to detect this in the first page?

CRASH_OVERRIDE
01-26-2003, 11:34 PM
If I understand you correctly, you want one page to communicate with or get info from another page in a frameset? That would have to be done using ASP or something of the sort.

Algorithm
01-26-2003, 11:34 PM
// Assumes a function frameLoaded() exists.
if(document.domain == parent.FRAMENAME.document.domain){
parent.FRAMENAME.onload = frameLoaded;
}Keep in mind that this code will override any existing onLoad events in the frame's page.

CRASH_OVERRIDE
01-26-2003, 11:37 PM
Wow... :)