Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

linking a specific document in a frame within a frameset

linking within a remote frameset

6:50 pm on Jul 24, 2003 (gmt 0)

New User

10+ Year Member

joined:July 24, 2003
votes: 0

O.K. I will try to explain what I am trying to do the best that I can and I hope that the answer is very simple and that somebody knows it.

Here is my situation:

When visitors come to the site they come to page A which contains 10 links. these ten links are linked to a frameset called contents.htm. Contents.htm has a top frame with information. a middle frame with the same 10 links from page A and the bottom frame, Mainframe. As you can see Page A is just a portal basically to get you to the frameset page where the visitor will do the remainder of there browsing. My problem is that I don't know how make the 10 links on page A open up Contents.htm and tell it what specific page to open in the mainframe.

Right now i just have the 10 links on Page A open up contents.htm with the default page set for the mainframe. I need to make it so that when the links on page A are clicked it loads contents.htm and puts the corresponding page in the mainframe.

Please help me I have exhausted all my research knowledge trying to figure this out.


7:49 pm on July 24, 2003 (gmt 0)

Full Member

10+ Year Member

joined:Apr 4, 2001
votes: 0

Welcome to WebmasterWorld!

Sounds like your pointing to the top frame instead of the frame page itself.

create a new page, let's call it frames.html:
<frameset rows="100,*">
<frame name="banner" scrolling="no" noresize target="contents" src="contents.html">
<frameset cols="120,*">
<frame name="contents" target="main" src="leftside.html">
<frame name="main" src="main.html">

<p>This page uses frames, but your browser doesn't support them.</p>


Then have the links on your homepage point to the frames page. Then the frames page pulls in each of your content pages.

Hope that helps. Good luck!

8:47 pm on July 24, 2003 (gmt 0)

New User

10+ Year Member

joined:July 24, 2003
votes: 0

Thats not what I'm looking for but I appreciate your help.

I found a different way to state exactly what I am looking for:

>From one frameset, I have a set of links that need to be opened in
another frameset. There are 10 links involved, so the client would
prefer to avoid having to create a frameset for each link with the
appropriate .html file in the main frame. Is there a way to link to a
frameset and define which .html file would used in the main frame?

Please help again legster if you this help you more understand what I am trying to accomplish.

I have found some information on using a query string, but to be honest with you I am about as primitive as it gets when is comes to using javascript.

Help me out!


10:01 pm on July 24, 2003 (gmt 0)

New User

10+ Year Member

joined:May 27, 2003
votes: 0

Hi ammweb,

Is there a need for a second browser window? If no then then just add a target="__inserframenamehere__" into your <a href > tag.

If you do need to open a second frameset you might think of using session cookies to pass the info, but if the user does not allow cokies you would not be able to read the information


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members