I tried finding an answer on http://www.quirksmode.org/ without success.
I am attempting a complicated Frames structure. I have made it work in IE,
but not Netscape.
I begin with three frames, where the two lower ones are within a Frameset
within the master Frameset:
111111111111111 1111
2 333333333333333 3
2 333333333333333 3
2 333333333333333 3
I can change the URL of the content of any of the three frames with commands
such as these:
parent.frames[0].location='mast head.html';
parent.frames[2].location='side bar.html#068';
parent.frames[3].location='main space.html#068' ;"
These work in Netscape as well as IE.
The cross-browser differences begin after I split up frame 3 into more
frames. I do this (upon a user click) by loading into frame 3 an HTML file
that is nothing but code for a new frameset. The frameset divides this
window into three columns. Each column loads with an HTML file inside it.
Even here, Netscape and IE both load the new page and display the new
content. The trouble is when I try to substitute new files for the ones in
these sub-frames. IE does what I want, Netscape remains frozen.
To change the content of the frames within the document within the #3 frame
(which itself is within a frameset within a frameset within the master
window), I use:
parent.frames[2].frames[0].location='Prod ucer.html#E1'
or:
parent.frames[2].frames[2].location='reas ons.html#C2'
I have also been able to use:
parent.frames[2].document.frame s[0].location='Prod ucer.html#E1'
or:
parent.frames[2].document.frame s[2].location='reas ons.html#C2'
And even:
parent.parent.f rames[2].frames[0].location='Prod ucer.html#E1'
IE handles them all. Netscape doesn't do anything. Is there a way of
addressing these inner frames via Netscape that I have failed to consider?
--
David Hayes
(remove the name of the programming language from email address to make it
usable)
I am attempting a complicated Frames structure. I have made it work in IE,
but not Netscape.
I begin with three frames, where the two lower ones are within a Frameset
within the master Frameset:
111111111111111 1111
2 333333333333333 3
2 333333333333333 3
2 333333333333333 3
I can change the URL of the content of any of the three frames with commands
such as these:
parent.frames[0].location='mast head.html';
parent.frames[2].location='side bar.html#068';
parent.frames[3].location='main space.html#068' ;"
These work in Netscape as well as IE.
The cross-browser differences begin after I split up frame 3 into more
frames. I do this (upon a user click) by loading into frame 3 an HTML file
that is nothing but code for a new frameset. The frameset divides this
window into three columns. Each column loads with an HTML file inside it.
Even here, Netscape and IE both load the new page and display the new
content. The trouble is when I try to substitute new files for the ones in
these sub-frames. IE does what I want, Netscape remains frozen.
To change the content of the frames within the document within the #3 frame
(which itself is within a frameset within a frameset within the master
window), I use:
parent.frames[2].frames[0].location='Prod ucer.html#E1'
or:
parent.frames[2].frames[2].location='reas ons.html#C2'
I have also been able to use:
parent.frames[2].document.frame s[0].location='Prod ucer.html#E1'
or:
parent.frames[2].document.frame s[2].location='reas ons.html#C2'
And even:
parent.parent.f rames[2].frames[0].location='Prod ucer.html#E1'
IE handles them all. Netscape doesn't do anything. Is there a way of
addressing these inner frames via Netscape that I have failed to consider?
--
David Hayes
(remove the name of the programming language from email address to make it
usable)
Comment