One link opening Two documents in different frames, IS IT REALLY IMPOSSIBLE
I have been browsing the net for several hours now, trying to figure out the code I have to use. My page, http://andersson.darkglade.com , is built like this
TOP FRAME: Here's the menu
LEFT FRAME: Here's the sub menu
MAIN (right) FRAME
If I press profile, I want the main profile document to show up in the main frame, and I want another document to show up in the left frame. This document is nothing more than a table with a background where it says "profile". Like the Welcome in the index.html
Among the things I have seen on the net are switching frames and updating two frames by using a button. I do not want that. I simply want one link to open two documents and those two documents need to be opened in two different frames. Is there anyone out there who might know how to do this? I'd be greatful
John Pollock posted this at 16:25 — 2nd October 2001.
He has: 628 posts
Joined: Mar 1999
To do the same thing with a link, you can call a JavaScript function inside the A tag, ie:
Change 2 Frames
If you need more detail, I can point you to my tutorial on it if you like.
Java Script: A Beginner's Guide
Page Resource
andersson posted this at 17:09 — 2nd October 2001.
They have: 6 posts
Joined: Oct 2001
ya, thanks, more details would be helpful.
John Pollock posted this at 17:27 — 2nd October 2001.
He has: 628 posts
Joined: Mar 1999
Here's my tutorial on it (hopefully OK with the staff), I think you'll need to make a little adjustment for your set up, but this should give you the general info. you need. If you have a question post back.
http://www.pageresource.com/jscript/jframe2.htm
Java Script: A Beginner's Guide
Page Resource
Adrian J. Moreno posted this at 17:56 — 2nd October 2001.
They have: 19 posts
Joined: Jul 2001
You don't need to write and call a function. It's possible to do it all within the .
http://hotwired.lycos.com/webmonkey/97/02/index4a.html
John Pollock posted this at 19:27 — 2nd October 2001.
He has: 628 posts
Joined: Mar 1999
That's true.
andersson posted this at 17:43 — 5th October 2001.
They have: 6 posts
Joined: Oct 2001
Thank you very much. My first post got great results, fast and a bit easy. I found the java thingy easier, cause I didn't want the frame with the link to change. Thank's a lot guys, you made my day
Andersson
andersson posted this at 21:24 — 5th October 2001.
They have: 6 posts
Joined: Oct 2001
But there is another problem. My top frame can't handle more than one link. Well, I'm sure it can handle it, but how do I "ID" the script so different links work
andersson posted this at 16:34 — 12th October 2001.
They have: 6 posts
Joined: Oct 2001
come on guys, help me out. There are several links in the top frame, but I can only get one to work at the time. How do I make all the links coded. I can only code one with this java.
andersson posted this at 16:38 — 12th October 2001.
They have: 6 posts
Joined: Oct 2001
hey, I found out. Don't worry bout it
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.