[thelist] Opening 2 Frames...With a 3rd

Jeff jeff at members.evolt.org
Mon Mar 20 02:41:38 2000


manuel,

:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
: From: Manuel Delgado <tertulia@mail.internet.com.mx>
:
: Does anyone can help me explaining how to
: open 2 frames simultaneously from a link
: located on a third one? At webmonkey I learned
: how to change 2 frames, but one of them is the
: same one that has the link.
:~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

i'm guessing that the technique you learned at webmonkey involved
javascript.  it could probably be adapted to change two other frames, but
it's not really necessary.  instead it just requires a little creative
thought on how to do it.  the nice thing is that it doesn't require any
javascript at all which means it'll work for anybody that's using a frames
capable browser.

let's imagine you have a frameset like this:

_________________________
|_________top_____________|
|              |                                           |
|              |                                           |
|              |                                           |
| left        |             right                      |
|              |                                           |
|              |                                           |
|______|___________________|


let's say for the purpose of example that you wanted to change the bottom
two frames, leaving the top frame intact.  to do this you'll wanna break the
two bottom framest into their own frameset page leaving just the top narrow
frame and a bottom thick frame.  this document would look like this:

_________________________
|_________top_____________|
|                                                          |
|                                                          |
|                                                          |
|                 bottom                            |
|                                                          |
|                                                          |
|_________________________|


now, the document you load into the bottom frame will contain the frameset
for the left/right frames.  you can simply create a different left/right
frameset for each link that you need to change both frames.  of course, all
your targets that change the left/right frameset document would have to
target the bottom frame whereas documents that are to be loaded into the
right frame would have to target the right frame specifically.

good luck,

.jeff

name://jeff.howden
game://web.development
http://www.evolt.org/
mailto:jeff@members.evolt.org