[thelist] How do I tell when a frame is loaded?

Rob sendrobstuff at gmail.com
Tue Aug 1 03:37:55 CDT 2006


Hey all,

I've got a frameset with Javascript in one frame that loads a series
of URLs into a second frame. I want to extract some information from
the page in this second frame.

Given these pages to load are not all from the same domain (and I
can't put any JS into them) how do I tell when the page has finished
loading in the second frame (and henceforth, therewith, I can start to
extract the stuff I want)?

TIA,
Rob.


<tip type="Building CSS layout from mockup">
If you're trying to get a layout sorted in CSS based on a mockup, take
a gif/jpeg of the proposed layout and use it as a (semi-transparent)
background in the page you're building.

This way you can just refresh the page as you make changes and easily
see if everything's going to plan. A little something like this:

In your HTML:
<div id="traceOutline"><img src="images/bg-ie.gif"/></div>

In your CSS:
#traceOutline { position: absolute; top: 0; left: 0; z-index: -1;
width: 100%; overflow: hidden;  filter: alpha(opacity=35);
-moz-opacity: .35; opacity: .35;}
</tip>



More information about the thelist mailing list