G
George Sicherman[aes] MTD43D29
I have a program that opens a window to an HTML page that looks like this:
<HTML>
<HEAD>...</HEAD>
<FRAMESET ROWS="50%,50%">
<FRAMESET COLS="11%,11%,11%,11%,11%,11%,11%,11%,12%">
<FRAME SRC=...>
...
</FRAMESET>
<FRAMESET COLS="11%,11%,11%,11%,11%,11%,11%,11%,12%">
<FRAME SRC=...>
...
</FRAMESET>
</FRAMESET>
</HTML>
In JavaScript, I can access new_window.frames[0] but not new_window.frames[0].
frames[0]. I added some alerts to find out what was going on. Apparently
new_window.frames[0].frames is defined, but it's not an array object. In
fact, one of its members is 'frames', which is not an array either but a
window.
I ought to be able to reference new_window.frames[0].frames[0]. Why does
it not exist?
-:-
L See the funny little man,
Try and catch him if you can.
Quickly now! That's too slow--
Where did all your money go?
--The Roguelet's ABC
<HTML>
<HEAD>...</HEAD>
<FRAMESET ROWS="50%,50%">
<FRAMESET COLS="11%,11%,11%,11%,11%,11%,11%,11%,12%">
<FRAME SRC=...>
...
</FRAMESET>
<FRAMESET COLS="11%,11%,11%,11%,11%,11%,11%,11%,12%">
<FRAME SRC=...>
...
</FRAMESET>
</FRAMESET>
</HTML>
In JavaScript, I can access new_window.frames[0] but not new_window.frames[0].
frames[0]. I added some alerts to find out what was going on. Apparently
new_window.frames[0].frames is defined, but it's not an array object. In
fact, one of its members is 'frames', which is not an array either but a
window.
I ought to be able to reference new_window.frames[0].frames[0]. Why does
it not exist?
-:-
L See the funny little man,
Try and catch him if you can.
Quickly now! That's too slow--
Where did all your money go?
--The Roguelet's ABC