euqon
07-18-2005, 07:15 AM
Hi,
I have a web site having three seperate i frames. Lets call them "if-a", "if-b" and "if-c" if-a displays page 1, if-b displays page 2 and if-c displays page 3.
what I want to do is to display a "page 4" on if-c, when page 1 is changed to page 2 on if-a.
I tried a two frames function:
function twoFrames(){
parent.document.getElementById('if-a').src="page1.html";
parent.document.getElementById('if-c').src="page4.html";
<a href="#"onclick="twoFrames()">click here</a>
but this is not efficient for me, for I have more than 200 links all over the site which I have to change this way.
Instead, it would be far more easy for me to make the page display another just as the time it appears on the stage.
any help will be appriciated...
I have a web site having three seperate i frames. Lets call them "if-a", "if-b" and "if-c" if-a displays page 1, if-b displays page 2 and if-c displays page 3.
what I want to do is to display a "page 4" on if-c, when page 1 is changed to page 2 on if-a.
I tried a two frames function:
function twoFrames(){
parent.document.getElementById('if-a').src="page1.html";
parent.document.getElementById('if-c').src="page4.html";
<a href="#"onclick="twoFrames()">click here</a>
but this is not efficient for me, for I have more than 200 links all over the site which I have to change this way.
Instead, it would be far more easy for me to make the page display another just as the time it appears on the stage.
any help will be appriciated...