Entry
How can I tell that all frames in a frameset are completely loaded?
Is there an event that fires when all frames in a frameset are completely loaded?
Is there an event that fires when all frames in a frameset are completely loaded?
Mar 17th, 2000 09:32
James D. Albert, Martin Honnen,
The FRAMESET element has an
ONLOAD
handler for that so
<FRAMESET ONLOAD="alert('all frames completely loaded')" ...>
shows when all frames are loaded.
~ ~ ~
Be aware that IE4.01 and IE5.0 for Windows calls the FRAMESET ONLOAD
event before the ONLOAD events of the child FRAMEs. Netscape 4+ and Mac
versions of IE4+ appear to work properly.
If you use window.open() to load a new frameset, beware that Netscape
4.05 and 4.7 on the Mac fail to call the FRAMESET's ONLOAD event for
the new window. Versions 4.01, 4.04 and 4.61 on the Mac *do* call the
ONLOAD event. I'm unsure about other Mac versions of Netscape...