Originally posted by wwwkianoushcom:
Hi all,
I got 3 frames Top Middle and Bottom and I need to be able to click a link in the Top Frame with the Middle Frame to change and a iFrame in the Bottom Frame to chage too.
I'm sure it's possible but can't figure it out.
I have done a search but can't find anything on it.
Can someone help?
Kia.
OK... I'll bite...
It needs to be done with Javascript because you're targetting 3 windows.
So your window names are 'top','middle' and 'bottom'. and the iFrame within the 'bottom' window is called 'iframe' (for simplicity's sake!).
Your HTML code may look something like this:
Code:
< a href="javascript:changeFrame('middlepage.html','iframepage.html')" >Click here< /a >
Then you'll need a javascript inside your page (or linked from an external file) which has something like this:-
Code:
function changeFrame(page1,page2) {
top.middle.href.location = page1;
top.bottom.iframe.href.location = page2;
}
I'm doing this all from memory (and sometimes I think I was given bad ram at birth) so it may need some tweaking. It's a start, though
Good luck.