Welcome to WebmasterWorld Guest from 22.214.171.124
Forum Moderators: incrediBILL
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.
Sounds like your pointing to the top frame instead of the frame page itself.
create a new page, let's call it frames.html:
<frame name="banner" scrolling="no" noresize target="contents" src="contents.html">
<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!
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.
Help me out!
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